Class mashi.xpath


Defined in: mashi.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
mashi.xpath(xml_source, xpath)
Simple XHR method to import XML/HTML fragments via XPath queries
Class Detail
mashi.xpath(xml_source, xpath)
Simple XHR method to import XML/HTML fragments via XPath queries
var items = mashi.xpath('items.xml', '/root/items');
Parameters:
{String} xml_source
Source file
{String} xpath
XPath address part
Returns:
{String} XML/HTML fragment (as string)
Documentation generated by JsDoc Toolkit 2.4.0 on Thu May 05 2011 11:38:27 GMT+0200 (CEST)