Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Conversion of XML to a String in XSLT

564325Jun 16 2008 — edited Jun 17 2008
Hello --

I've written an XSLT that creates a fragment of XML as the contents of an xsl variable element. I then want to convert that fragment to a string and use it as the value of another element. I've tried both the orcl:get-content-as-string() and ora:getContentAsString() functions with no success. Recognizing that both of these functions take a node-set as input, and that an xsl variable is not a node-set, I've also tried using ora:node-set() on the variable when passing it to the functions. None of these approaches works.

How can I use XSL and any extension functions to convert an XML fragment to a string for use as a value in an element belonging to a larger XML message?

Thanks for your time.

Paul Camann
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 15 2008
Added on Jun 16 2008
1 comment
1,061 views