xsl-list
[Top] [All Lists]

RE: How do I generate an HTML anchor element?

2002-10-28 07:33:16
Another stab, this is copied from one of mine, so it is tested....


<xsl:element name="a">
        <xsl:attribute name="href">the url stuff goes here </xsl:attribute>
                <xsl:element name="span">
                        <xsl:attribute name="class">kop_inv</xsl:attribute>
                        <xsl:text>Help</xsl:text>
                </xsl:element>
        </xsl:element>
</xsl:element>

Paz

-----Original Message-----
From: JWALLIS(_at_)TRANSENTRIC(_dot_)COM 
[mailto:JWALLIS(_at_)TRANSENTRIC(_dot_)COM]
Sent: maandag 28 oktober 2002 14:52
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] How do I generate an HTML anchor element?



I have checked the FAQ's for mulberrytech, jennitennison, and Pawson's
without any success. I must not be inputting the search criteria correctly.

All I'm trying to do is generate an HTML anchor tag. I all the combinations
get syntax errors .

Here is where I originally started:
<table>
<tr>
    <td>
         <a HREF="SomeURL.jsp?FirstName=FirstValue&SecondValue
=<xsl:value-of select="AAA/BBB"/>>        <xsl:value-of select="DDD"/>
         </a>
    </td>
   </tr>
</table>

I have tried just about every weird combination in order get around all the
errors. I'll skip listing all of them for sake of brevity - but here is a
couple attempts:
&lt;a HREF="SomeURL.jsp?FirstName=FirstValue&amp;
SecondValue=SecondValue...>someValue&lt;/a>

&#60;a HREF="SomeURL.jsp?FirstName=FirstValue&amp;
SecondValue=SecondValue...>someValue
&#60;/a>

So if someone could just point me to a place in one of the FAQ's that has
info on the anchor tagI would appreciate it.

Thanks in advance, Jim.

<AAA>
      <BBB>1</BBB>
      <CCC>2</CCC>
</AAA>
<DDD>3</DDD>




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

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



<Prev in Thread] Current Thread [Next in Thread>