|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: document() source
>>>>> "Fraser" == Fraser Goffin <goffinf@xxxxxxxxxxx> writes:
Fraser> I see that in XSLT I can use the document() function BUT
Fraser> it APPEARS that it must retrieve the XML from the file
Fraser> system or a resolvable URI ??
Fraser> In my case the second instance doc is already 'in memory'
Fraser> (having been retrieved from a database) so I really just
Fraser> want to pass the XML itself as a string.
Fraser> Does anyone know whether this is possible using XSLT, or
Fraser> will I need to look at a programmatic (ie. Java)
Fraser> implementation alternative :-(
What you can do is make up a uri scheme (maybe call it string), and
then write a URI Resolver for your processor, which returns the text
of the string given the appropriate URI. You will want to do something
like store the string in a hash table, whose key is the uri.
--
Colin Adams
Preston Lancashire
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








