
June 4th, 2004, 09:58 AM
|
|
Registered User
|
|
Join Date: Jun 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Converting XML to HTML with XSL
Hi,
I'm trying to convert XML to HTML but having one problem with XSL. It does all but one thing that I want it to do. There are a number of XML tags called <section>, and depending on the page calling the XML it will display one of this sections. (So a link will call the file with an ID of say 5, and the contents of the 5th <section> tag will be pulled by the XSLT.) However, these <section> tags also contain tags called <section> and I'd like to pull all of these subtags, but it only pulls the 5th sub <section> or whatever corresponds to the ID passed in. I'd like to be able to pull all the sub <section>. I can't change the names either as this code comes from a partner. I've attached the XML (amsterdam_xml.txt) and XSL (wow_xsl.txt) code.
Thanks in advance for any help recieved.
F
|