« XPath in a PDF | Main | Changing a WebService Definition at Runtime »

"XMLData.parse" and Finding Nodes

One thing to keep in mind when parsing XML from a variable or a data node is that attributes are considered to be a node of the parent. So, child-elements will not necessarily start at (0) if the parent has an attribute. The attribute(s) will be considered before the children.

This sample demonstrates a few methods of retrieving XML data including the population of a drop-down from XML on the form. The data is provided in a text box and parsed using the XMLData.parse method so that you can change the data and watch the results in real-time.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)