[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Passing an XML fragment as a parameter
On 28.03.2019 18:38, Charles O'Connor coconnor@xxxxxxxxxxxx wrote:
I need to create a transform for our engineers to pass an XML fragment stored in a SQL database into a document as a parameter. Testing this in Oxygen using XSLT 3.0 and Saxon 9.7.0.15 is super easy. I can just declare the parameter and then use the function fn:parse-xml-fragment: 2.0 (XMLPrime).
I'm guessing this could be solved by saving the XML fragment as a document,but is there a way to do it from memory? Do you run XmlPrime from the command line? Or do you write .NET code (e.g. C# or VB.NET) to run it? That way you should be able to set up your own extension function if needed. Or perhaps parse the XML in your .NET code and pass in a document fragment node to the XSLT.
|
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
|