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

Re: trouble creating a link

Subject: Re: trouble creating a link
From: Dan Morrison <dman@xxxxxxxx>
Date: Tue, 30 May 2000 05:49:22 +1200
xml link trouble
Wayne Davis wrote:
> 
> I'm trying to create a simple link based on whether or not an email address
> is included in my XML file...

Two issues: One looks like a typo, as it would make your syntax
unparseable - you seem to have closed xsl:attribute twice. Once as a
singlrton, once as a container. I blame the email...

Second, I'd imagine you want the value of the email to be INSIDE the
closing <a>, otherwise nothing's getting linked at all!

>     <xsl:value-of select="EMAIL"/>
>  </a></font></li>
 
However, neither of these problems should cause everything to get
linked. As much as I hate some of the long sources posted here, perhaps
we need a little more context to see where the problem lies.

Could be you're using an overly forgiving transformer that's
second-guessing your errors and getting it wrong. However that would
make the transformer very very non-compliant, XML is NOT as friendly as
HTML. (for good reason)

.dan.


:=====================:====================:
: Dan Morrison        : The Web Limited    :
:  http://here.is/dan :  http://web.co.nz  :
:  dman@xxxxxxxx      :  danm@xxxxxxxxx    :
:  04 384 1472        :  04 495 8250       :
:  025 207 1140       :                    :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.