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

Re: MSXML DOCTYPE error

Subject: Re: MSXML DOCTYPE error
From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx>
Date: Tue, 24 Jun 2008 19:27:34 +0200
Re:  MSXML DOCTYPE error
Actually I was just wondering what was the reason for using Python's
Win32 libraries to allow you to invoke MSXML as opposed to other xsl-t
implementations for python that would be cross-platform?

Cheers,
Bryan Rasmussen

On Tue, Jun 24, 2008 at 5:55 PM, Luke Stedman <luke.stedman@xxxxxxxxx> wrote:
> Thanks for all the comments guys.
>
> When Andrew pointed out the simpler solution I decided to do it the
> xsl/include way instead.
>
> It is a lot easier than using the DTD's.
>
> Cheers
> Luke
>
> 2008/6/24 Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>:
>> Luke,
>>
>> At 10:09 AM 6/24/2008, you wrote:
>>>
>>> Thanks Martin,
>>>
>>> The fix worked perfectly.
>>
>> That's cool, but puzzling, since your syntax is unorthodox and shouldn't
>> work in a conformant XML parser. It could be you are getting your XSLT to
>> parse now, but how those external DTDs are being used would be a mystery.
>>
>>> 2008/6/24 Martin Honnen <Martin.Honnen@xxxxxx>:
>>> > Luke Stedman wrote:
>>> >
>>> >> When the dtd's are defined in the XSL file:
>>> >>
>>> >> <!DOCTYPE xsl:stylesheet [
>>> >>     <!ENTITY SYSTEM "./det_1.dtd">
>>> >>     <!ENTITY SYSTEM "./det_2.dtd">
>>> >> ]>
>>
>> Here you have declared a DTD as an internal subset (the bracketed structure
>> within your DOCTYPE declaration), which in turn declares two entities. But
>> those entities are neither general nor parameter entities. Indeed they're
>> not entities at all, since they don't have names, just system identifiers
>> for files.
>>
>> If you mean to include two DTDs as modules of the DTD in your internal
>> subset, you need parameter entities, plus a parser that will support them.
>>
>> What's more puzzling is why you want to do this. If you have global variable
>> declarations in your XSL which you wish to factor out of the main
>> stylesheet, xsl:include is easy enough without getting you into the
>> intricacies of entity declaration and use. Is there any reason you can't
>> simply use xsl:include?
>>
>> Cheers,
>> Wendell
>>
>>
>>
>> ======================================================================
>> 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
>> ======================================================================

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.