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

Re: Dumb HTML <A> question

Subject: Re: Dumb HTML <A> question
From: Jim Hopp <jhopp@xxxxxxxxxxx>
Date: Wed, 03 Jan 2001 14:39:15 -0800
dumb html
<A href="{.}"/A> should work.  The "{}" is called an attribute value
template, and is quite handy for specifying the value of an attribute in a
literal result element (an element that's not an XSL instruction - it
doesn't start with 'xsl:'>

A good online introduction is
http://www.ibiblio.org/xml/books/bible/updates/14.html and there are others;
if you're willing to invest in a book I strongly recommend "XSLT
Programmer's Reference" by Mike Kay.

-Jim
----- Original Message -----
From: "Jack A. Zucker" <jaz@xxxxxxxxxxxxxx>
To: "XSL-List" <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, January 03, 2001 2:06 PM
Subject:  Dumb HTML <A> question


> I'm dynamically generating links in html from my xsl processing using the
> following code:
>
> <xsl:template match="HelpFile">
>   <xsl:element name="A">
>     <xsl:attribute name = "href" ><xsl:value-of select="."
> /></xsl:attribute>Help
>   </xsl:element>
> </xsl:template>
>
> This works fine but seems to be a bit terse. Is there a simpler way to do
> this other than building the <A> and @href nodes programmatically?
>
> The other issue is not really related to xml/xsl but is a html help issue.
> My actual link is to a .chm file which is registered to point to hh.exe
(the
> microsoft html help executable). The link works fine but I want to be able
> to specify a help topic to the html help engine and not just come up on
the
> default topic, but I don't seem to be able to do it from the hot link.
Other
> than instantiating the html active x control and talking to it through
> script, have any of you guys gotten it to work?
>
> Sorry about the off topic question.
>
> -Jaz
>
> Email: jaz@xxxxxxxxxxxxxx
> Jazz Guitar Site: http://www.jackzucker.com
>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 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.