[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

cannot remove indentation [XSLT 1.0]

Subject: cannot remove indentation [XSLT 1.0]
From: pankaj.c@xxxxxxxxxxxxxxxxxx
Date: Wed, 16 Mar 2011 18:57:57 +0530
 cannot remove indentation [XSLT 1.0]
Hello,

I think I am going nuts. 

I am having 35-40 small big xslts, which are being imported/included to 
main stylesheet. While defining a new environment (precisely speaking item 
glossary as a root element [mostly the chapter is root element]), I 've 
encountered that I am not able to remove indentation i the output XML, 
even when I clearly mentioning in my stylesheet written separately to 
handle this glossary component. in fact all stylesheet have this below 
defined to them.

<xsl:strip-space elements="*"/>
<xsl:output encoding="UTF-8" indent="no" media-type="text/xml" 
method="xml"/> 

The input xml looks something like below:

<?xml version="1.0"?>
<glossary id="0012">
<child_elements>
........
........
.......
</child_elements>
</glossary>

Initially I thought I must have defined glossary somewhere else in bunch 
of stylesheets but do not see any such issues and keep getting indented 
out XML.

I am using xsltproc 1.0. Anybody suggest what might be wrong? 

TIA,
Pankaj

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.