1 Reply Latest reply on Mar 23, 2011 6:31 AM by Hodmi

    Problem with creating unbounded elements in XML

    backroom boy Level 1

      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.