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

Re: XML and XSLT help needed


evrsoft templates
On 18 Nov 2002 at 21:46, MJRyan wrote:

> 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 justdata. I have the same 
> problem and was hoping someone had an answer. 

As Michael Kay said, the best place to look for answers is xslt-list.
I'll go ahead and give you a very limited answer:

  Given an input of:
    <file location="http://www.evrsoft.com">Download</link>

  The following template:
    <xsl:template match="file">
      <!-- {xxxx} is an attribute value template. The curly braces
           tell the processor to evaluate the contents as an expression
           - otherwise they are treated as literal text. -->
      <a href="{@location}">
        <xsl:value-of select="."/>
      </a>
    </xsl:template>

  Will produce this output:
    <a href="http://www.evrsoft.com">EvrSoft</a>

Now, if that doesn't solve your problem, then you are probably lacking 
some basic knowledge about how to do XSLT, in which case you have
two choices: (1) post a precise and thorough description of what you 
are trying to do and the results you are getting (including sample 
code), or (2) find a good XSLT book or online tutorial and start 
studying.

It's not that we don't want to help, but the question as presented is
a lot like calling up your ISP's tech support and saying, "I can't get 
on the Internet." Just like the ISP tech, we need more information to 
even take a reasonable guess at the cause of the problem.

--
Matt Gushee
Englewood, CO  USA

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.