Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Workbench
Viewing all articles
Browse latest Browse all 69588

lists

$
0
0

Is there an easy way to create a list from an XML file? I have a process that executes a loop keeping count, but is not appeading to the list file.

 

I first get a count of the number of rows and set a counter to the number of rows + 1.

 

Then I figure the number of rows - 1.

 

If the number of rows is < = 0 it should end.

If the number of rows is > 0 it should append to the list.

 

I am using the folowing to append to the list

/process_data/countyXML/type/county[/process_data/@numTotal]/CDDESC

 

Once it appends to the list it should return to subtract again and loop accordingly.

 

the XML looks good. It's named countyXML and looks like this:

 

<type>

     <county>

          <CDDESC></CDDESC>

     </county>

     <county>

          <CDDESC></CDDESC>

     </county>

</type>

 

I am getting an invocation error when it tries to append to the list.

 

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 69588

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>