Thanks tsuji
You are absolutely right - hard coded [4.1] now works fine.
.txt file attachedhttp://www.arthousedesign.co.uk/britannia/MM_XSLTransform.class.txt
Many thanks tsuji
I'm having problems getting the ID number to work
<xsl:for-each select="dataroot/CPINFOWEB/CARPARK[ID=$parkID]">
It doesn't select car park 4 ion the xml. However, if I put
<xsl:value-of select="$parkID" /> in the body, it works fine and displays 4.
I've played around with...
I have a simple xml file with information for car parks, each has a unique id.
I want the details of one car park to be displayed after clicking on a static html link.
The link looks like:
<a href="detail.php?park=4">Link</a>
a sample of the XML file looks like this:
<CPINFOWEB>
<CARPARK>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.