[Home] [By Thread] [By Date] [Recent Entries]
The direct answer to your question is: just pass in the string that
contains the contents of the xml.
But I assume that after that, you want to create XML from this string and you want to process it (otherwise, why would you ask how to pass in a string? I am sure you know how to do that). Simply use the saxon:parse and/or saxon:serialize extension functions. You can find the details on how to use them on the Saxon website (the first parses an xml string and constructs a node set, the second does the opposite and returns a string equal to what would be produced through normal output processing) Cheers, -- Abel Braaksma PS: note that there is no recovery when the string that is passed in is not well-formed xml! John Smith wrote: Hello,
|

Cart



