Subject: Re: document() source
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 31 Oct 2005 10:05:59 GMT
|
> 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
________________________________________________________________________
|