Subject: [xsl] make it single line From: "Senthilkumaravelan K" <skumaravelan@xxxxxxxxxxxxxx> Date: Wed, 2 May 2007 23:45:20 -0700 |
Hi I want to flatten the XML node structure to single line, I tried indent=no and it does not work for me. Please any suggestions. I use the following xslt
<?xml version="1.0" encoding='UTF-8'?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="no" /> <xsl:template match="*"> <xsl:copy> <xsl:apply-templates/> </xsl:copy> </xsl:template> </xsl:stylesheet>
input <node1> </Item1> </Item1> </Item1> </Item1> </Item1> </Item1> </Item1> </node1> output <node1></Item1></Item1></Item1>..</node1>
Regards, Senthil
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How is memory allocated i, Rashmi Rubdi | Thread | Re: [xsl] make it single line, George Cristian Bina |
Re: [xsl] How is memory allocated i, Rashmi Rubdi | Date | Re: [xsl] How is memory allocated i, Colin Adams |
Month |