Data Types

The XML APIs introduce some new internal data types to Vortex. Note that these are not SQL data types, and cannot be stored outside of memory, e.g. in a table.

These types cannot be printed directly. For example just printing $var when it contains an xmlNode will simply print (xmlNode). The methods for converting them to strings are provided in their individual descriptions.

As with all Vortex data, there is no direct memory management necessary. All allocating and freeing is handled by Vortex for you. However, to conserve memory, it is recommended to make sure the variable(s) used are either deleted (i.e. <$doc = >) or go out of scope (i.e. use <local> variables) when done, especially when accessing large documents with the tree API.



Copyright © Thunderstone Software     Last updated: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.