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

Re: XML and XSLT help needed


xslt help
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/

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.