xsl-list
[Top] [All Lists]

Re: document() source

2005-10-31 03:50:02
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>