You are viewing limited content. For full access, please sign in.

Question

Question

Creating LST from XML

asked on May 13, 2014

I am creating a LST file to be used with Import Agent.  When I exported my data as an xml file, the image list is one long string of text.  Is there an "easy" way to separate these into strings of 8 digits? 

 

Example:

<IMAGELIST>0000000100000002000000030000000400000005</IMAGELIST>

 

Needs to be:

STARTLIST

00000001.tif

00000002.tif

00000003.tif

00000004.tif

00000005.tif

ENDLIST

 

Thanks!

Jen

0 0

Replies

replied on May 13, 2014 Show version history

Here you go.. http://jsfiddle.net/88yUy/

 

It's a bit crude but does the job. Just copy and paste the value of IMAGELIST into the variable "imglst" and then press the RUN button.

2 0
replied on May 15, 2014

Thanks for the idea, Wes.  But since I have about 275,000 files to bring in each with an Imagelist, I don't think this will do the trick. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.