Subject: [xsl] Copying nodes problem From: "Kanthi Damodaran" <kdsm17@xxxxxxxxxxx> Date: Wed, 03 Oct 2001 20:04:13 +0000 |
Sample XML file :- <?xml version="1.0"?> <TOP> <filter type="GetIndID"> <filter type="Initial Table"> <filter type="BizClass" modifier="OSIND"> <filter type="Phrase" modifier="a"> <filter type="IndustryInfo"> <Industry KeyID="1"> <Title><![CDATA[Label #1]]></Title> <Description><![CDATA[Description #1]]></Description> </Industry> <Industry KeyID="220557"> <Title><![CDATA[Label #2]]></Title> <Description><![CDATA[Description #2]]></Description> </Industry> <Industry KeyID="220572"> <Title><![CDATA[Label #3]]></Title> <Description><![CDATA[Description #3]]></Description> </Industry> </filter> </filter> </filter> </filter> </filter> </TOP>
Desired Output :- <?xml version="1.0"?> <TOP> <filter type="GetIndID"> <filter type="Initial Table"> <filter type="BizClass" modifier="OSIND"> <filter type="Phrase" modifier="a"> <filter type="IndustryInfo"> <Industry> <osind> <code>1</code> <label><![CDATA[Label #1]]></label> <description><![CDATA[Description #1]]></description> </osind> </Industry> <Industry> <osind> <code>2</code> <label><![CDATA[Label #2]]></label> <description><![CDATA[Description #2]]></description> </osind> </Industry> <Industry> <osind> <code>3</code> <label><![CDATA[Label #3]]></label> <description><![CDATA[Description #3]]></description> </osind> </Industry> </filter> </filter> </filter> </filter> </filter> </TOP>
Thanks in advance. Kanthi
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] NetScape support over XSL, David Carlisle | Thread | Re: [xsl] Copying nodes problem, David Carlisle |
Re: [xsl] xsl element with mark of , Tom Myers | Date | Re: [xsl] CDATA Question, Wendell Piez |
Month |