[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Does the XSL processors within IE5beta2 validate a XSL style sheet?


Subject: RE: Does the XSL processors within IE5beta2 validate a XSL style sheet?
From: "Markor, John (Non-HP)" <jmarkor@xxxxxxxxxx>
Date: Fri, 18 Dec 1998 10:23:40 -0800

yes, I believe the processor is validating the XSL (I found this out the
hard way) in that it dynamically attaches itself (or at least appears to...)
to the document in question.  But what you are seeing is an error in
IE5beta2, in which the <xsl:process-children/> tag is not processed.  

Again - hopefully they will fix this bug in the next release.


-----Original Message-----
From: Amit Rekhi [mailto:amitr@xxxxxxxxxxxxx]
Sent: Friday, December 18, 1998 3:19 AM
To: xsl list
Subject: Does the XSL procesor within IE5beta2 validate a XSL
stylesheet?


Hello,

I was trying to render an XML file using an  XSL stylesheet in IE5beta2,
 and discovered that the XSL processor within IE5beta2 was not only checking
for well-formedness of the XSL file but was also trying to validate
the XSL stylesheet. for eg.

A sample XSL stylesheet

1. <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
2. <xsl:template match="/">
3.  <HTML>
4.   <BODY BGCOLOR="#FFFFCC">
5.       <xsl:process-children/>
6.   </BODY>
7.  </HTML>
8. </xsl:template>
9. <xsl:template match="ProbTracker">
10.  <B>Hi!</B>
11. </xsl:template>
12.</xsl:stylesheet>


When I try to link the above XSL file to an XML file and try
running the XML thru  IE5, it gives an error saying

"Keyword xsl:process-children may not be used here."
Here = Line No. 5 above

This gives me the impression that IE5 may be validating an XSL file against
a predefined XSL DTD before rendering it.
Am I right?
If yes
  *  where can I get the DTD from?

Why is it that <xsl:process-children/> cannot be a part of the the <BODY>
element
content?
Is the content model for <BODY> defined in some XSL DTD which IE5 validates
an XSL file against?


Thanks,
AMIT



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


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



Current Thread
Keywords