Re: FW: [xsl] doctype declaration and msxmldom

Subject: Re: FW: [xsl] doctype declaration and msxmldom
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Jun 2003 17:44:19 -0400
Dan,

This isn't an XSLT question and since not everyone here uses your exact tools, we probably don't know the answer.

It sounds like your MSXMLDOM process sees the DOCTYPE declaration and assumes you want to validate. See if you can't find a switch to turn validation off. Your entity declarations should still get processed.

Cheers,
Wendell

At 04:47 PM 6/19/2003, you wrote:
OK not a lot of responses. But here goes:

All I want to do is include some external character entity files (isopub,
isonum etc) because in my xml instance I have &eacute; &egrave; etc. The
only way I know how to do this is in the doctype declaration (assuming no
dtd) as follows:

<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="fpir_web_wrapper_1.xsl"?>
<!DOCTYPE PUBLICATION
[<!ENTITY % isolat SYSTEM "..\..\character entities\isolat1.ent" >
<!ENTITY % isopub SYSTEM "..\..\character entities\iso-pub.ent" >
<!ENTITY % isonum SYSTEM "..\..\character entities\iso-num.ent" >
%isolat;
%isopub;
%isonum;
]>
<PUBLICATION>
...
</PUBLICATION>

IE6 opens file, no problems; saxon translates file, no problems, but the
msxmldom insists that if I have a doctype declaration I have to include a
dtd or a schema -- "The element PUBLICATION is used but not declared in the
dtd/schema"

Is that declaration correct?

Is there some other way of incorporating those character entity files so
that &eacute; becomes é?
Has no one else had any problems with this?


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread