Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Problem with creating unbounded elements in XML

backroom_boy
Level 2
Level 2

I have the same issue like here : http://forums.adobe.com/thread/706903?tstart=180 . May be someone will help . The point is : I need to make  XML file like that:

<MyXML>

     <doc  path='docpath'></doc>

      <doc path='docpath'></doc>

        .....................................................

</MyXML>

These 2 variants didn't work in my case :

1.    /process_data/MyXML/doc[number(/process_data/@counterXML)]/@path = /process_data/crcObj/object/@browseLink  -  in the right side i have the browselink , obtained from CRCResult. counterXML - the number of <doc> elements at all in XML file.

2. /process_data/MyXML/doc/@path = /process_data/crcObj/object/@browseLink  - further element overwrites previous one in XML.

Can I somehow do it using SetValue operation?

Thx in advance.

1 Reply
Hodmi
Level 8
Level 8

Unfortunately inserting a node with  setValue will overwrite the existing nodes:

http://forums.adobe.com/message/3417572#3417572