Subject: Problem with entities and XT From: "Didier PH Martin" <martind@xxxxxxxxxxxxx> Date: Wed, 16 Feb 2000 15:03:58 -0500 |
Hi, I am having difficulties with XT and entities translation. the orginal XML document includes entities like: I included a the beginning of the document a DOCTYPE so that it can be parsed by an XML parser. The XML document is parsed OK. So far so good. Now, I declared a doctype for the xsl:stylesheet as follow: <!DOCTYPE xsl:stylesheet[ <!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "xhtml-lat1.ent"> %HTMLlat1 <!ENTITY % HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN" "xhtml-symbol.ent"> %HTMLsymbol; <!ENTITY % HTMLspecial PUBLIC "-//W3C//ENTITIES Special for XHTML//EN" "xhtml-special.ent"> %HTMLspecial; ]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink/namespace/" xmlns:html="http://www.w3.org/1999/xhtml" version="1.0"> .... <xsl:stylesheet> All the from the orginal XML document are translated by XT into        Hypothesis: a) Something is wrong in my style sheet b) James Clark embedded a joker in XT c) there is a bug in XT d) I am too tired and I should go to sleep :-) Cheers Didier PH Martin ---------------------------------------------- Email: martind@xxxxxxxxxxxxx Conferences: Web New York (http://www.mfweb.com) Book: XML Pro published by Wrox Press Products: http://www.netfolder.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: XSL & DTD, Mike Brown | Thread | Re: Problem with entities and XT, David Carlisle |
Re: XSL & DTD, Paul Bell | Date | RE: How To Include external XSL fil, Igor Nakshin |
Month |