Editor: adXMLCls is an asp class library used for reading and extracting data from a xml file. To access the class you need to include the adXMLCls class file and define a new instance of that class in your document.
Functions The class holds serveral functions that can be used for certain operations.
Open(parameter): This sub opens the XML file you enter as parameter. It will also check for a parseError. If an error is found, the page will stop parsing and will return the error.
Close: This sub destroys the XML object that is created when you openend the file. Use this after you're done with the XML operations (usually at the end off your document).
GetNode(parameter): This function returns the result of only one node selected by the xpath parameter as String.
GetNodesArray(parameter): This functionreturns the result of all nodes selected by the xpath parameter as an array. This is used when working with more than one result on your xpath query.
.NewID(parameter): This function returns a new ID every time you call it. It's extremely usefull when you need identifiers in your XML document. The parameter is the name of the node that holds the Counter, if the node does not exist it will be created (e.g. NewID(postId) creates a postId node).