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

RE: Xalan question: XML to String

Subject: RE: Xalan question: XML to String
From: Nick Vincent <Nick@xxxxxxxxxxxx>
Date: Tue, 3 Apr 2001 10:30:58 +0100
xalan xml to string
Thanks Myriam,

I ended up using an identity transform to do this.

Thanks for your help.

Nick

> -----Original Message-----
> From: Myriam_Midy@xxxxxxxxx [mailto:Myriam_Midy@xxxxxxxxx]
> Sent: 02 April 2001 19:06
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Cc: xalan-dev@xxxxxxxxxxxxxx
> Subject: Re:  Xalan question: XML to String
> 
> 
> 
> Hi Nick,
> You should probably ask xalan specific questions on the 
> xalan-dev list.
> You'd probably get faster response there 
> (xalan-dev@xxxxxxxxxxxxxx). I'm
> cc-ing the answer there.
> 
> Which version of xalan are you using? If you are using 
> xalan2, have you
> tried setting the output properties? If not, please take a look at the
> documentation at the following link and try that and see if that would
> help.
>  http://xml.apache.org/xalan-j/usagepatterns.html#outputprops
> 
> Myriam
> 
> 
>                                                               
>                                        
>                     Nick Vincent                              
>                                        
>                     <Nick@xxxxxxxxxxxx>                To:    
>  "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'"   
>                     Sent by:                           
> <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>             
>                     owner-xsl-list@xxxxxxxxxxxx        cc:    
>  (bcc: Myriam Midy/CAM/Lotus)          
>                     rytech.com                         
> Subject:      Xalan question:  XML to    
>                                                        String 
>                                        
>                                                               
>                                        
>                     04/02/01 12:22 PM                         
>                                        
>                     Please respond to xsl-list                
>                                        
>                                                               
>                                        
>                                                               
>                                        
> 
> 
> 
> 
> Hi,
> 
> Sorry this is a bit specific (poss. off topic?), but I am at 
> a bit of a
> loss.
> 
> Is there any way that you can get Xalan/Xerces to give you a 
> nice simple
> indented view of the DOM tree in a String?
> 
> I tried the XMLSerializer, but unfrotunately it makes a bit 
> of a mess of
> anythign even approaching large:
> 
> "For elements that are not specified as whitespace preserving, the
> serializer will potentially break long text lines at space boundaries,
> indent lines, and serialize elements on separate lines. Line 
> terminators
> will be regarded as spaces, and spaces at beginning of line will be
> stripped. "
> 
> Which basically, as far as I read it, means "We reserve the 
> right to ruin
> all of your formatting"
> 
> Any help is much appreciated,
> 
> Thanks
> 
> Nick
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 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.