Re: [xsl] Xalan question: XML to String

Subject: Re: [xsl] Xalan question: XML to String
From: Myriam_Midy@xxxxxxxxx
Date: Mon, 2 Apr 2001 14:06:29 -0400
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


                    Nick Vincent                                                                     
                    <Nick@xxxxxxxxxxxx>                To:     "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'"   
                    Sent by:                           <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>             
                    owner-xsl-list@xxxxxxxxxxxx        cc:     (bcc: Myriam Midy/CAM/Lotus)          
                                   Subject:     [xsl] Xalan question:  XML to    
                    04/02/01 12:22 PM                                                                
                    Please respond to xsl-list                                                       


Sorry this is a bit specific (poss. off topic?), but I am at a bit of a

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,



 XSL-List info and archive:

 XSL-List info and archive:

Current Thread