Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XSLT Help and Discussion
»
line spacing
Topic
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
next
Subject:
line spacing
Author:
David Chan
Date:
15 Feb 2006 04:30 AM
Hi all,
When I use to copy all element inside the node
<xsl:for-each select="Level1/Level2">
<xsl:copy-of select="."></xsl:copy-of>
</xsl:for-each>
How can i remove the extra spacing between elements?
<Level1>
<Level2>
<cust_code>TEST</ciust_code>
<cust_short_desc>TEST</cust_short_desc>
.....
to
<Level1>
<Level2>
<cust_code>TEST</ciust_code>
<cust_short_desc>TEST</cust_short_desc>
.....
Regards
Dave
next
Subject:
line spacing
Author:
(Deleted User)
Date:
15 Feb 2006 09:10 AM
Hi, David.
Try <xsl:strip-space elements="*"/>
Also, I'd like to again recommend Mulberry Technologies as a good resource for researching XSLT usage:
http://www.mulberrytech.com/xsl/xsl-list/index.html
David Foster
Stylus Studio Team
top
Subject:
line spacing
Author:
David Chan
Date:
16 Feb 2006 02:45 AM
Thanks
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
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 to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
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.