This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Preserve the structure in output
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Preserve the structure in output
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 19 Jul 2001 02:53:27 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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