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

RE: preserve structure of xml?

Subject: RE: preserve structure of xml?
From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Jul 2003 10:25:10 +0100
xsl preserve whitespace
> From: Ragulf Pickaxe [mailto:jawxml@xxxxxxxxxxx]
> Sent: 18 July 2003 10:13
> Subject:  preserve structure of xml?


> Don't know if this is vendor specific or is solvable using xml.

and which xslt processor are you using ?

> I am transforming an xml document to another xml document. During the 
> transformation I loose all structure so that I only get one 
> single line 
> except for the last bit where I get some 3 lines before the 
> last 2 end tags 
> (</body></html> at the moment).

sounds like whitespace is being stripped by default...

can you make a minimum test xml and test xsl, and reproduce the result, if so send us these
 
> I am using output-method="xml" for the transformatio.

well without knowing your XSLT processor, I would suggest that this is not incorrect behavior for the processor.

gl, jim fuller

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.