Subject: [xsl] Fw: Converting to different format From: J_Eugene_Bernard/VML/IT/SGCORP/SANMAR@xxxxxxxxxxxxxxx Date: Sun, 22 Aug 2004 15:10:46 +0530 |
Hi all, Since i have not clearly communicated my problem in my earlier post, i am reposting my problem with xml file.. I am having an XML file (File 1) as given below. I need to create an output XML of "N" such files of structure similer to File 2 (where N is number of record Node in the xml file 1. in this case 4 such files) If anybody posts complete xslt codes will be greatly appreciated. since i am a newbie to xslt. ------------------------------------------ File 1: <?xml version="1.0" ?> <assets> <record> <system>1</system> <asset>a001</asset> <serial>a01</serial> <make>HP</make> <vendor>abc</vendor> </record> <record> <system>2</system> <asset>a002</asset> <serial>a02</serial> <make>HP</make> <vendor>abc</vendor> </record> <record> <system>3</system> <asset>a003</asset> <serial>a03</serial> <make>HP</make> <vendor>abc</vendor> </record> <record> <system>4</system> <asset>a004</asset> <serial>a04</serial> <make>HP</make> <vendor>abc</vendor> </record> </assets> --------------------------------------------- File 2: <?xml version="1.0" ?> <assets> <record> <desc> system </desc> <detail> 1 </detail> </record> <record> <desc> asset </desc> <detail> a001 </detail> </record> <record> <desc> serial </desc> <detail> a01 </detail> </record> <record> <desc> make </desc> <detail> HP </detail> </record> <record> <desc> vendor </desc> <detail> abc </detail> </record> </assets> Regards Eugene
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Need help - Getting the v, Mike Trotman | Thread | Re: [xsl] Fw: Converting to differe, Mike Trotman |
[xsl] Need help - Getting the value, Mario Grech | Date | Re: [xsl] Need help - Getting the v, Mike Trotman |
Month |