Brian Bacsu wrote:

I am experiencing an issue when processing the data returned from a call to a .NET web service. The response from the web service call is a string that contains an XML fragment/document. The problem is that the start and end tags "<" and ">" are escaped to "&lt;" and "&gt;". The problem is that when I try use this to update the Instance data, it does not process due to the escaped characters (does not see as XML) such as the example below.

<GetNewEventResult xmlns="TestBusService">&lt;event&gt;

Hi Brian,

It looks like the Web service is returning XML data as text. So to be able to process it, you need to parse it. You can do this in an XSLT 2.0 stylesheet using the saxon:parse() function.

You can see an example in any sandbox where the end-user enters XML data in a text field, and we receive that XML data as text in the XForms instance, so we need to parse it before we can do anything with it. See for instance examples/sandbox/xpl/model.xpl.

Alex


------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to