|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: XSL & DTD
Subject: Re: XSL & DTD
From: "Paul Bell" <pbell@xxxxxxxxxxxx>
Date: Wed, 16 Feb 2000 15:03:17 -0500
|

|
Hi all, and thanks Mike for the reply:
Before posting yesterday I did indeed try what you suggested. I added to
start.xml the following code:
<!DOCTYPE xsl:stylesheet [
<!ENTITY % globals SYSTEM "globals.dtd">
%globals;
]>
<xsl:stylesheet>
...
</xsl:stylesheet>
But when I open start.xml in the browser, I get a sort of useless error
message from IE5.5 (running msxml2): "Invalid procedure call or argument". The
message references a line (75) and character (3) number. But the file it
references, start.xml, contains only 40 or so lines. So...I reason that IE5 is
really talking about the xsl file, 'start.xsl', that start.xml refers to. It has
more than 75 lines. But the line in question seems benign enuf. Here it is,
omitting a prior <xsl:for-each>:
<xsl:value-of select="@NM"
/> <xsl:value-of/> </xsl:for-each>
When I ask IE5 to validate start.xsl I get a more meaningful error
message:
URL: file://e:\paul\start.xsl
Line number 10:
Source text: <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Description: The element 'xsl:stylesheet' is used but not declared in the
DTD/Schema
It seemed like IE5 was ultimately going to insist that I have the entire 'XSL
DTD'. So I gave up and posted my initial query.
By the way, if I remove the DOCTYPE declaration from the XSL file, the
browser no longer complains and my start.xml file opens just fine.
Any ideas?
Thanks in advance.
Cordially,
Paul
|

| Current Thread |
- Re: XSL & DTD
- Paul Bell - Wed, 16 Feb 2000 15:03:17 -0500 <=
- <Possible follow-ups>
- Mike Brown - Wed, 16 Feb 2000 16:12:14 -0700
|
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|