XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
dave livingstonSubject: creating escaped XML
Author: dave livingston
Date: 22 Jan 2007 09:28 PM
I've ran into something that surely has to be very simple but I'm at my wits end to figure it out. I am far from an XSLT guru so I thought I would ask some others.

The system that I am working with has now decided that the messages coming in have to a text string "to seperate the date from the transport" argghh

I have all of my stylesheets set up and they work well, but now I am supposed to send all of the data "escaped"...I don't want to have to rewwrite them...is there not an easy way to simply take an XML document and write it out so that all of the things are escaped?

thanks

dave

Posttop
Tony LavinioSubject: creating escaped XML
Author: Tony Lavinio
Date: 25 Jan 2007 06:05 PM
There isn't an easy way to do this with XSLT tools.

You could, I suppose, build a generic stylesheet that
would basically serialize the XML, writing < plus
the element name plus > and then writing any attributes
manually and then calling itself for any nested children.

You might try asking this on the XSL-LIST; I seem to
recall someone posting a snipped of code to do something
similar.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.