Title: Message
|
The
answer is trivially easy:
<xsl:template match="file">
<a
href="{@location}"><xsl:value-of
select="."/></a>
</xsl:template>
But
usually, before giving someone the answer to a problem, I like to understand why
they are having difficulties solving it themselves.
Michael Kay Software AG home:
Michael.H.Kay@n... work: Michael.Kay@s...
-----Original Message----- From:
MJRyan [mailto:mjryan@s...] Sent: 19 November 2002
02:46 To: michael.h.kay@n...; rcxau@y...;
xml-dev@l... Subject: Re: XML and XSLT help
needed
Hope someone posts an answer for this one.
The original problem as described was the user was unable to transform the "http://www.evrsoft.com" from the attribute into
an actual usable link in the rendered page. It shows up as
just data. I have the same problem and was hoping someone had an
answer.
----- Original Message -----
Sent: Monday, November 18, 2002 11:52
AM
Subject: RE: XML and XSLT
help needed
This is very easy to do in XSLT. I suggest you post
the question to xsl-list at mulberrytech.com, first explaining what you have
tried so far - because from the question as stated, it's impossible to see
why you are finding it difficult.
I want to make the browser read the below XML and
display it as
How do i do this? Is it possible to do this with
XSLT?
-------------------------------------
1st Page 2k
5mb
Download
---------------------------------------
(where download is is a link to the site
defined in <file>)
The following is an excerpt from my xml:
---------------------------------------------------------
<download>
<name>1st Page 2k</name>
<size>5mb</size>
<file location="http://www.evrsoft.com">Download</file>
</download>
-------------------------------------------------------------
RCXAU - http://vrtech_tripod.com/
|
|