[Home] [By Thread] [By Date] [Recent Entries]


Title: Message
Some help you folks are!  
 
Well, Well...Trivially easy, simple, etc. etc...What a 'freekin load.
 
Your "trivially easy" answer doesn't work !
 
If the answer is so trivially easy...WHY didn't you just give it for cripes sakes; instead of wasting time lecturing the unwashed masses.
 
 
Thanks!
 
 
----- Original Message -----
Sent: Tuesday, November 19, 2002 4:55 AM
Subject: RE: XML and XSLT help needed

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.
 

Michael Kay
Software AG
home: Michael.H.Kay@n...
work: Michael.Kay@s...

-----Original Message-----
From: rcxau@y... [mailto:rcxau@y...]
Sent: 18 November 2002 01:20
To: xml-dev@l...
Subject: XML and XSLT help needed

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/

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member