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