cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <luca.morandi...@tin.it>
Subject RE: embedding html in xml ?
Date Thu, 03 Oct 2002 10:54:39 GMT
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 
              lmorandini@ieee.org 
http://utenti.tripod.it/lmorandini/index.html 
---------------------------------------------
 

> -----Original Message-----
> From: Jessica Niewint [mailto:j.niewint@kiosco.org]
> Sent: Thursday, October 03, 2002 12:22 PM
> To: cocoon-users@xml.apache.org
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message