xsl-list
[Top] [All Lists]

generate several html files?

2004-01-05 07:36:29
Is it possible to generate several html files using xslt?
i have an xml files like this:
<allcats>
<cat><name>one</name><desc>this is one</desc></cat>
<cat><name>two</name><desc>this is two</desc></cat>
<cat><name>three</name><desc>this is three</desc></cat>
<cat><name>four</name><desc>this is four</desc></cat>
</allcats>
i wanted to name html files according to the cat name and <h1> tags within each files to correspond with its desc tag. This would create:

one.html (<h1>this is one</h1> inside the file)
two.html (<h1>this is two</h1> inside the file)
three.html (<h1>this is three</h1> inside the file)
four.html (<h1>this is four</h1> inside the file)

thanks
james walker

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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