Jessica,

XHTML is XML... hence you can treat HTML as XML in you stylesheets (of course the 
serializer must be HTML).

For instance, something like:

<xsl:variable link="@link">
<a href="$link">clickable link</a>

or:

<xsl:element name="a">
        <xsl:attribute name="href"><xsl:value-of="@link"/></xsl:attribute>
        clickable link
</xsl:element>

would work.

Best regards,

--------------------------------------------- 
               Luca Morandini 
               GIS Consultant 
              [EMAIL PROTECTED] 
http://utenti.tripod.it/lmorandini/index.html 
---------------------------------------------
 

> -----Original Message-----
> From: Jessica Niewint [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 03, 2002 11:06 AM
> To: [EMAIL PROTECTED]
> Subject: embedding html in xml ?
> 
> 
> Until my books are arriving I have to continue to post all my questions 
> that couldn't be answered by mysql and the internet ....
> 
> In my database is saved a paragraph which contains not only pure text, but 
> also an url . Via esql (xsp) I read this data and generate with my xsl and 
> html document.
> How can I realize an output of an "click-able" url? 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to