xsl-list
[Top] [All Lists]

RE: generate several html files?

2004-01-05 08:05:02

http://www.biglist.com/lists/xsl-list/archives/200311/msg00733.html

Cheers
andrew

-----Original Message-----
From: james walker [mailto:jameswalkerandy(_at_)hotmail(_dot_)com] 
Sent: 05 January 2004 14:36
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] generate several html files?


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






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



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