You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stefan Seifert <ss...@pro-vision.de> on 2001/06/26 16:54:51 UTC

[c2] ESQL, get-xml and entities like  

I use ESQL and get-xml to get XHTML-Fragments from the database.

The Problem: The XHTML conatins sometimes entities like &nbsp;, which
are vaild for XTHML, but not for XML. In an XSL-Stylesheet i can use a
statement like

<!DOCTYPE xsl:stylesheet [
    <!ENTITY % HTMLlat1 PUBLIC
       "-//W3C//ENTITIES Latin 1 for XHTML//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
    %HTMLlat1;
]>

to integrate XHTML entities. But when i use get-xml in an XSP page, this
does not work; even if i put this statement in the XSP page.

Any idea to tell the XML parse internally used from get-xml to allow
these specific Entities?

Stefan

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

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>