xinclude4flex


XML XInclude implementation In Flex ActionScript

This project supply XML XInclude implementation for Flex ActionScript.

You can find XInclude demo in source code. Usually, we use the following code to include some other XML documents in a XML document.

<xi:include href="books.xml" xpointer="/bookstore/book[@category='COOKING']"/> <xi:include href="books.xml" xpointer="/bookstore/book[1]/title"/> <xinclude href="books.xml" xpointer="/bookstore/book/price/text()"/> <xinclude href="books.xml" xpointer="/bookstore/book[price>35]/price"/> <xi:include href="books.xml" xpointer="/bookstore/book[price>35]/title"/>

In xpointer's attribute value, we can use XPath 1.0 expression and functions to get our aim elements. If you do not set any xpointer expression, it will include the whole document.

Project Information

The project was created on Feb 25, 2011.

Labels:
XInclude ActionScript Flex XML