Jessica,

1) your XML document is well-formed XML, don't worry about "mixed" content: ain't 
XHTML well-formed XML ?

2) you could serve your HTML (both text and link) with something like:
<xsl:template match="parameter">
        <xsl:copy-of select="./node()"/>
</xsl:template>

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 12:22 PM
> To: [EMAIL PROTECTED]
> Subject: RE: embedding html in xml ?
> 
> 
> Thanks Luca,
> 
> but my problem is that the stored text in the database which belongs to the 
> <parameter> tag is something like this:
> 
> .... blablablablabla <a href="somelink.tosomething.com"> 
> blablabla</a>blablablabla .......
> 
> so the contained html in the stored text could be also an image, table, etc 
> ....
> So I am afraid of that could be against "the rules" of xml ... since the 
> content of my tag is mixed ....
> 
> So what could be a solution ? Use the CDATA tag ???
> 
> 
> ---------------------------------------------------------------------
> 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