[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Preserve the structure in output


Subject: RE: [xsl] Preserve the structure in output
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 19 Jul 2001 02:53:27 +0100

>   I have a doubt like when i do a transformation of one xml file into
> another xml file my resuling xml file does not maintan the
> structure of the
> previous file like
>
> before transformaton
> <A>
> <B>
>   <C>this is c</C>
> </B>
> </A>
>
> after transformationit looks like this
>
> <B><C>this is c</C></B>
>
> but i want it to look like
> <B>
> <C>this is c</C>
> </B>
>
If the newlines have not been copied into your output then it's because your
stylesheet didn't copy them. Without seeing your stylesheet, that's the best
debugging I can offer!

Mike Kay
Software AG


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



Current Thread
Keywords
xml