Problem with intra document XSL links?

Subject: Problem with intra document XSL links?
From: "Tom Gaven" <tgaven@xxxxxxxxx>
Date: Thu, 1 Apr 1999 09:21:15 -0500
<xsl:newbie>
Hey folks, I was trying to use xml/xsl in IE5 to generate an intra-document
link and I was getting an error.
</xsl:newbie>

//------  here is the XML file: book.xml
<?xml version="1.0"?>
<?xml:stylesheet type="text/xsl" href="book.xsl" ?>
<BOOK>
 <TITLE>Title 1</TITLE>
</BOOK>

//------  here is the XSL file: book.xsl
<?xml version="1.0"?>
<HTML xmlns:xsl="http://www.w3.org/TR/WD-xsl";>
<BODY>
    <A href="#tagname"><xsl:value-of select="BOOK/TITLE"/></A><BR/>
    <A name="tagname"><xsl:value-of select="BOOK/TITLE"/></A>
</BODY>
</HTML>

//---  here is the error in IE5 when I select the link
res://C:\WINDOWS\SYSTEM\shdoclc.dll/dnserror.htm#file://D:\test\book.xml#tag
name

Question:
dns error??  Why would the clicking an intra document link trigger a dns
error?

Once this problem is solved, I'd like to use XSL and javascript to generate
the href tag names on the fly, using the <xsl:eval> tag.  Any comments? Is
there a way to generate tag names using xsl only?

Thanks!


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


Current Thread