How do you include the output of an XPath query in a post?

To include the output of an XPath query within a post you embed the query within an <xpath-query/> tag. For example to get a list of all post titles that contain a certain word (Syncato in this case) you could do this.

<xpath-query>/item/title[contains(., 'Syncato')]/text()</xpath-query>

Posted by Kimbro Staken

Tuesday Sep 23, 2003 at 7:55 AM
Recommended Sites