xsl-list
[Top] [All Lists]

Re: document() source

2005-10-31 03:05:59

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)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
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>