Unescape XML withing XPL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Unescape XML withing XPL

Jim.Kirby
Hi,

I need to convert escaped XML withing a XPL file. Basically i call web service with the delegation processor and receive a response that has escaped XML.

i.e.

<ServiceResponse>
<InsertServiceResponse>
<xml version="1.0" encoding="utf-8">
<ItemList><Item1>1</Item1><Item1Value>Value1</Item1Value><Item2>2</Item2><Item2Value>2</Item2Value><ItemList>
</InsertServiceResponse>
</ServiceResponse>

I need a way to read the escaped data within a XSLT stylesheet. I have tried to located a saxon extension that will accomplish this but have had no luck so far. Any ideas?

Thanks,
Jim
Reply | Threaded
Open this post in threaded view
|

RE: Unescape XML withing XPL

Steve Bayliss
Have you tried saxon:parse()?

-----Original Message-----
From: Jim.Kirby [mailto:[hidden email]]
Sent: 19 September 2009 21:32
To: [hidden email]
Subject: [ops-users] Unescape XML withing XPL



Hi,

I need to convert escaped XML withing a XPL file. Basically i call web
service with the delegation processor and receive a response that has
escaped XML.

i.e.

<ServiceResponse>
<InsertServiceResponse>
&lt;xml version="1.0" encoding="utf-8"&gt;
&lt;ItemList&gt;&lt;Item1&gt;1&lt;/Item1&gt;&lt;Item1Value&gt;Value1&lt;/Ite
m1Value&gt;&lt;Item2&gt;2&lt;/Item2&gt;&lt;Item2Value&gt;2&lt;/Item2Value&gt
;&lt;ItemList&gt;
</InsertServiceResponse>
</ServiceResponse>

I need a way to read the escaped data within a XSLT stylesheet. I have tried
to located a saxon extension that will accomplish this but have had no luck
so far. Any ideas?

Thanks,
Jim
--
View this message in context:
http://www.nabble.com/Unescape-XML-withing-XPL-tp25525172p25525172.html
Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws