YUI recommends YUI3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

This documentation is no longer maintained.

YUI Library Examples: DataTable Control: XML Data with XPath

DataTable Control: XML Data with XPath

This DataTable is populated with XML data where the schema is defined using XPath-syntax locators. Please note that namespace support is not implemented at this time.

Please note: XML is not currently supported on Android devices.

When working with XML data, use the DataSource's useXPath property to enable XPath syntax in your locator strings.

Sample Code for this Example

Data:

CSS:

Markup:

JavaScript:

Copyright © 2013 Yahoo! Inc. All rights reserved.

Privacy Policy - Copyright Policy - Job Openings