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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + Call Web Service, Nothing retu... (12)
-> + Error while debugging xslt wit... (2)
-> + DESADV D96A Schema vs XML inco... (4)
-> + Das Programm mit mysql ? (4)
-> + RegEx Search and Replace (6)
-> + SequeLink Server - Do I need a... (6)
-> + faultString: (401)Unauthorized... (7)
-> + Previewing XSL with javascript... (2)
-> + removing formating from XML (6)
-> - removing formating from XML (2)
-> ->removing formating from X...
-> + Custom EDI to XML conversion (2)
-> + Getting "Type not found" error... (4)
-> - Converting file and customize ... (1)
-> + formatting problem with xml ex... (2)
-> + Using DTD Entities and XSD (7)
-> + XML Schema (XSD), Adding comme... (2)
-> + DTD schema generation problem (2)
-> + How do i generate a schema fro... (4)
-> + Incomplete request message gen... (2)
-> + Installation issue for Stylus ... (2)
-- Previous [1741-1760] [1761-1780] [1781-1800] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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

   
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.