|
|
[xml_tree]Description
This type provides additional functionality for the built-in XML type, making it easier to retrieve values from XML documents when the structure is known. It adds the following new member tags: Parametersnone Sample Usage
Source CodeClick the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
Related Tags
Comments
08/30/2009, Jason Huck
Bug fix for ->getnodes(). Corrected an issue with ->getnodes(). Thanks to Steve Piercy for discovering the bug and providing the workaround.
06/17/2006, Jason Huck
Update Modified ->getnode() member tag to use an XPath expression instead of ->children for better performance/memory management, per a suggestion by Kyle Jessup.
06/01/2006, Jason Huck
Update The _unknowntag callback now searches for matching attributes if no matching child nodes are found.
05/30/2006, Jason Huck
Updates Added ->getnodes member tag and made more things return via reference.
05/17/2006, Jason Huck
Added ->getnode() member tag. You can now use ->getnode() to access nodes with otherwise conflicting names.
05/08/2006, Jason Huck
Bug Fix Added error trapping on ->attribute member tag. |
|||||||||||||||||||
Added -array parameter to normalize results of ->getnode.
->getnode will now accept an -array parameter, which causes the result to always be an array, even if there is only one matching node. Thanks to Johan Sölve for the contribution.