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

RE: How to add a variable/changeable hyperlink <a href=" htt

Subject: RE: How to add a variable/changeable hyperlink <a href=" http:\\WWW....> around a text in XSL?
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Tue, 16 Mar 1999 14:35:07 -0500
variable to hyperlink
At 10:11 AM 3/16/99 -0800, Koh, Justin (Intern) wrote:
>I am not proficient with using template. In fact, I am using MSXSL to
>convert the xml to html.
>Is there an equivalent way to translate 	
>
>> Filename: <a href="{filename}"><xsl:value-of select="filename"/></a>
>> 
>Is the <xsl:value-f select /> the same as <select-elements> tag?
>
>Does MSXSL recognize templates?

Aha. I bet you're using the old MSXSL (version 1.8-something, I seem to
recall), aren't you? That version of the XSL processor implemented the
original (now defunct) XSL *proposal*. The current version, included with
MSIE5, is based on the current XSL *working draft*, which is significantly
different from the proposal. For one thing, there's no <select-elements> tag.

If you are indeed using the old MSXSL, you've got two choices, roughly
equally unpalatable: Either stick with it, and find your horizons growing
ever narrower as fewer and fewer people (including MS themselves) can help
you with it; or gulp, swallow hard, and start to plow through the current
XSL working draft to learn its syntax. Although the dust hasn't quite
settled even on it, yet, it's possible to find tutorials on-line (including
at the Microsoft site) that will help you quite a bit.

The current XSL WD is at:
	http://www.w3.org/TR/WD-xsl

Norman Walsh has an article originally in the January WebTechniques,
reprinted at xml.com, that's a more or less gentle introduction to the
"new" XSL (although the article is based on the first working draft):
	http://www.xml.com/xml/pub/1999/01/walsh1.html
(I prefer the xml.com reprint to the original in WebTechniques, because the
sample code is available in-line in the former but only in separate windows
in the latter -- much harder to print. :)

Good luck!

=============================================================
John E. Simpson          | It's no disgrace t'be poor, 
simpson@xxxxxxxxxxx      | but it might as well be.
                         |            -- "Kin" Hubbard


 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.