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 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Stephen DalySubject: removing formating from XML
Author: Stephen Daly
Date: 29 Jan 2007 07:23 PM
I want to strip off all formatting from my xml, included spaces, e.g.
Turn this:
<A>
<A1>Some Text</A1>
<A1>More Text</A1>
</A>
into this:
<A><A1>Some Text</A1><A1>More Text</A1></A>

When I use a xsl:copy-of select="A", the output has cr/lf removed but not spaces.

What is a good way to do this? I saw in the stylus studio online docs that xsl:strip-space is not supported? Would this ordinarily do what I want?

Posttop
(Deleted User) Subject: removing formating from XML
Author: (Deleted User)
Date: 31 Jan 2007 02:08 PM
Originally Posted: 31 Jan 2007 02:07 PM
See answer at http://www.stylusstudio.com/SSDN/default.asp?action=9&read=6094&fid=23

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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.