xsl-list
[Top] [All Lists]

RE: Converting to different format

2004-08-19 21:33:44
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 


<Prev in Thread] Current Thread [Next in Thread>