OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XML and XSLT help needed

[ Lists Home | Date Index | Thread Index ]

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-dev] 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@ntlworld.com
work: Michael.Kay@softwareag.com

 
 
 -----Original Message-----
From: MJRyan [mailto:mjryan@snet.net]
Sent: 19 November 2002 02:46
To: michael.h.kay@ntlworld.com; rcxau@yahoo.com.au; xml-dev@lists.xml.org
Subject: Re: [xml-dev] 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-dev] 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@ntlworld.com
work: Michael.Kay@softwareag.com

-----Original Message-----
From: rcxau@yahoo.com.au [mailto:rcxau@yahoo.com.au]
Sent: 18 November 2002 01:20
To: xml-dev@lists.xml.org
Subject: [xml-dev] 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>
-------------------------------------------------------------
 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS