This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: loading multiple documents using variables


[Michael Kay]

> > try
> > <xsl:variable name="docconcat" select="concat('c:\',$name,'.xml')"/>
> > <xsl:apply-templates select="document($docconcat)"/>
>
> Except that document() requires the argument to be a URI, and a filename
is
> not a URI.
>

Right, some processors accept that form anyway, but it's not really correct.
There's also the old question - exactly what is the right syntax to use for
Windows file: URLs, anyway?

Cheers,

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]