[xquery-talk] Screen-scraping with XQuery

Erik Bruchez ebruchez at orbeon.com
Fri Apr 1 12:44:24 PST 2005


Good question. I guess the issue is more "how can I embed an XQuery
program within an XML document" than directly related to XPL. What
happens if you escape the internal opening brackets within attributes:

<a href="{concat("a", &lt;B>thing&lt;/B>}"/>

Does this make a difference for XQuery?

-Erik

Michael Kay wrote:
 > One thing this reminds me of: do you have any formal definition of 
how you
 > embed the XQuery syntax in XPL? For example, how do you handle constructs
 > like
 >
 > <a href="{concat("a", <B>thing</B>}"/>
 >
 > which are valid in XQuery but not in XML?
 >
 > Michael Kay
 > http://www.saxonica.com/


More information about the talk mailing list