This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Preserve the structure in output


>   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]