[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: FW: doctype declaration and msxmldom

Subject: Re: FW: doctype declaration and msxmldom
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Jun 2003 17:44:19 -0400
Re: FW:  doctype declaration and msxmldom
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.