Subject: Re: [xsl] XPath 2.0 and XQuery Quick Reference Cards From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 7 Feb 2008 10:15:26 GMT |
One comment I'd make is that I'd drop the fn: prefix from the example signatures. beginners (especially people beginning with XQuery) seem to think that they need to actually use fn:contains(...) rather than contains(...) which makes the expression unnecessarily verbose and means (in xpath and xslt) that you need to declare the fn prefix somewhere. (If you do keep the fn prefixes, two or three of them have font problems with the f in sans serif and the n in monospace. *f*n:node-name and *f*n:base-uri for example. As a comparison, Dave P's version (which does xslt and xpath core sytax as well as F&O, but in 5 pages not 2: http://www.dpawson.co.uk/xsl/rev2/xslt2.pdf David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XPath 2.0 and XQuery Quick Re, Dan Vint | Thread | [xsl] Best way to substitute a empt, Tariq Ahsan |
RE: [xsl] Best way to substitute a , Michael Kay | Date | [xsl] Important, read this Jerry Ka, paul.kholer paul.kho |
Month |