[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: creating a temporary document from multiple inputs
Subject: Re: creating a temporary document from multiple inputs
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 23 Mar 2013 15:02:56 +0000
|
On 23/03/2013 14:59, Wolfgang Laun wrote:
Hi David,
I tried this, and the proposed <xsl:variable name="doc"> produces an
error.
<xsl:variable name="paths" as="item()*"> <xsl:sequence select =
"($p1,$p2,$p3)" /> </xsl:variable> <xsl:variable name="doc"
as="document-node()*" select="document($paths)/*"/>
Warning: on line 34 Required item type of value of variable $doc is
document-node(); supplied value has item type element().
Sorry I mis-read your code then copied it without seeing what it did,
you should do what I meant not what I wrote, lose the /* at the end.
<xsl:variable name="doc" as="document-node()*" select="document($paths)"/>
this is supposed to be a sequence of document nodes.
David
|
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
RSS 2.0 |
|
Atom 0.3 |
|
|