Hi, I've been doing a quick teach myself course on using the Opodo XML and decided that I'll use an XSL stylesheet, for starters, setting the results out in a table. To use PHP or ASP I'd have to upgrade my web hosting.
I've managed to get the data showing in a table form but I'm having trouble with the linking. I've got it to link ok but I'm having trouble with the <LINKPREFIX> and <LINKSUFFIX>. The prefix is the
TD tracking link and the suffix is for Opodo's tracking info. These are listed separately from the <URL> in the XML so I have to join them somehow. I've set out the link part of the stylesheet as follows;
<A><xsl:attribute name="HREF"><xsl:value-of select="LINKPREFIX" /><xsl:value-of select="URL" /><xsl:value-of select="LINKSUFFIX" /></xsl:attribute>
<xsl:attribute name="TARGET">
_blank
</xsl:attribute><xsl:value-of select="DEPARTURE_AIRPORT_NAME"/></A>
The only problem is that when I mouseover the link, it's only the URL showing, without the tracker links infront and after.
I tried writing the tracking bits before and after the <xsl:value-of select="URL" /> but IE6 wouldn't show the page as it 'expected a semi-colon' instead of the = in the
TD link.
Any help would be appreciated! I'm also a bit concerned as to whether the page would be viewable in IE5.
Thanks