[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Problem with intra document XSL links?
<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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|