RE: [xsl] Converting to different format

Subject: RE: [xsl] Converting to different format
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Fri, 20 Aug 2004 07:33:44 +0300
Hi,


>  I am having an XML file (File 1) as given below.

I can only see a table in ASCII art, no XML.

>  I need to create an output XML of "N" such files of structure
>  similer to File 2
>  (here 4 files)

I assume your data looks something like

  <foo>
    <system>1</system>
    <asset>a001</asset>
    <serialno>a01</serialno>
    <make>abc</make>
    <vendor>xxx</vendor>
  </foo>

In that case, you just want to process the foo elements, generating a new
result tree with an extension element or xsl:result-document for each of them,
and create row elements for each colum in the original data.

Cheers,

Jarno - C-Drone-Defect: The Few

Current Thread