polkovnikov.ph
polkovnikov.ph

Reputation: 6632

XML syntax for XPath

I'm writing some higher-order XSLTs, and would like to operate with XPath expressions like they're XMLs, rather than with their string representations. Is there any research on this topic?

Upvotes: 1

Views: 43

Answers (1)

Michael Kay
Michael Kay

Reputation: 163262

XPath is a sublanguage of XQuery, and XQuery has an XML representation in the form of XQueryX, so you could use this.

Upvotes: 1

Related Questions