Adaptive Server supports two client-oriented Java-based XML functions for mapping data between SQL tables or result sets and hierarchic XML documents. They are:
ForXmlTree – maps a set of SQL tables or result sets to a tree-structured XML document.
OpenXml – extracts repeating data from a tree-structured XML document to a SQL table.
The following sections provide sample data and an overview and examples of how you can use ForXmlTree and OpenXml. For a more detailed description, see $SYBASE/$SYBASE_ASE/sample/XML/xml-util.{doc, pdf}.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |