Title: Message
Ferran Urgell <[EMAIL PROTECTED]> wrote:

Hi!

Can I use an sql instruction as a href ? (I have a database with the field ref) And in the field ref, I would to put the reference to another page....

That's correct ?

<xsl:template match="sql:*">

<a href="{sql:ref}"><xsl:value-of select="."/></a>

</xsl:template>

(not works)

 

 

Hi, try this one

    <a>

        <xsl:attribute name="href"><xsl:value-of select="sql:ref"/></xsl:attribute>

        <xsl:value-of select="."/>

   </a>

I think this should work

 

bye

 

 

Reply via email to