Re: [xsl] document() source

Subject: Re: [xsl] document() source
From: andrew welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 31 Oct 2005 10:50:02 +0000
> > It would've be great if 2.0 had an inbuilt way of
> > accepting XML as string in a param...
>
> It sort of does
>
> select="doc(concat(data:,text/xml,encode-for-uri($string)))"
>
> However the set of http schemes supported by a processor is processor
> dependent, so your processor may not support data: (but then it may not
> support http: or file: either)

That's good then, another +1 for XSLT 2.0 - It's been racking them up
recently.

Current Thread