cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hewko, Doug" <>
Subject RE: Cocoon2 changing links on me....
Date Fri, 03 Aug 2001 10:54:50 GMT
Thanks. Sorry for the mis-post, but how do you know if it is XSL to Coccon2?
The code worked perfectly when I was coding client-side. The only change was
instead of having my browser parse it, Cocoon2 was. Thus, it seemed like the
way Cocoon2 was handling things.
-----Original Message-----
From: Vadim Gritsenko []
Sent: August 2, 2001 9:32 AM
Subject: RE: Cocoon2 changing links on me....

These are basic XSLT questions, and have nothing to do with Cocoon - use
XSLT mail lists in future.
Here is an answer: you must write this in one line:
<xsl:attribute name="href">  <mailto:> mailto:<xsl:value-of
OR use <xsl:text>:
<xsl:attribute name="href">
  <xsl:text>  <mailto:> mailto:<xsl:value-of

-----Original Message-----
From: Hewko, Doug []
Sent: Thursday, August 02, 2001 9:04 AM
To: ''
Subject: Cocoon2 changing links on me....

Why do I get
instead of  <> when I am trying a href in Cocoon2? How
could I get rid of the  <http://localhost/cocoon/> http://localhost/cocoon/
that is being prefixed?
Here is what my stylesheet looks like:
<xsl:template match="teammembers">
   <xsl:if test="member[@contact='yes']">
   If you have any questions or inquiries, d please do not hesitate to
  <xsl:value-of select="member/name"/>
  <xsl:value-of select="member/phone/number"/>
 , or e-mail
  <xsl:attribute name="href">
    <mailto:> mailto:<xsl:value-of
  <img src="_images/email.gif" style="cursor:hand" border="0"/>

View raw message