
July 6th, 2004, 12:37 PM
|
|
blub blub
|
|
Join Date: Mar 2004
Location: boston / new york city
Posts: 136
  
Time spent in forums: 5 h 29 m 5 sec
Reputation Power: 6
|
|
|
Transform XML file into smaller individual files
I have an xml document and I want to transform different sections of it into different output files. For example, given the sample xml structure
Sample:
Code:
<bah>
<aaaa>
<d></d>
<d></d>
</aaaa>
<bbbb>
<g></g>
<x></x>
</bbbb>
<cccc>
<h></h>
<j></j>
</cccc>
</bah>
I want to transform <aaaa> into an html file aaaa.html and so forth for <bbbb> and <cccc>. I'm pretty new to xml, xslt and xpath so could someone help me out. Thanks
Kevin
|