[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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 link
<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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.