Re: parameters in XSLT 2.0
You don't want to do that as you'll get a type error as doc() doesn't return element nodes. Also it's unnecessarily verbose as you don't need an xsLsequence you can just use select on the xsl:variable
Somewhere I need to configure the query, because I basically have three different modes:
- flatfile, where the data is in a local xml file and I just use xpath - exist-xmldb, where data is on a server, and I access it with xquery - sru, as above, but with another query language
I suppose I could just use a function to build the query, so that I end up with something like ...
<xsl:variable name="bib:data" select="doc(bib:get_docs(.))" as="element()+"/>
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format