[xquery-talk] Screen-scraping with XQuery

Michael Kay mhk at mhk.me.uk
Thu Mar 31 19:23:23 PST 2005


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/

 

> -----Original Message-----
> From: talk-bounces at xquery.com 
> [mailto:talk-bounces at xquery.com] On Behalf Of Erik Bruchez
> Sent: 31 March 2005 18:33
> To: talk at xquery.com
> Subject: [xquery-talk] Screen-scraping with XQuery
> 
> Hi all,
> 
> I wonder if you have seen that "Screen-scraping with XQuery" recently
> linked from TSS. Not that it tells you much about XQuery: the example
> is incredibly simple:
> 
>  
> http://www-128.ibm.com/developerworks/java/library/j-jtp03225.
> html?ca=dgr-jw26XQuery
> 
> I went on implementing it with OPS, which I describe in a blog post
> here:
> 
>    http://www.orbeon.com/blog/index.php?p=15
> 
> In that post I also rewrote the example with XSLT 2.0, which shows how
> close XQuery 1.0 and XSLT 2.0 are for a use case like this. In passing
> I admit having switched from Qexo to Saxon (sorry Per ;-).
> 
> In the following little thread, the author of the original article
> tries to make the point that learning XSLT is hell, and learning
> XQuery is bliss:
> 
>  
> http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?for
> um=181&thread=77692
> 
> If this is true, this would suggest that developers are extremely
> sensitive to syntax! Or is there another factor? I don't think I agree
> with such as statement statement at this point, but I wonder if this
> opinion is shared.
> 
> -Erik
> _______________________________________________
> talk at xquery.com
> http://xquery.com/mailman/listinfo/talk
> 




More information about the talk mailing list