Subject: Re: [xsl] Entities within my stylesheet. From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx> Date: Tue, 24 Sep 2002 12:34:55 -0400 |
That's because the name that you specify in a DOCTYPE declaration must exactly match the (qualified) name that you use for the document element in the XML document. In your case, you have:
<!DOCTYPE stylesheet ...>
and:
<xsl:stylesheet ...>...</xsl:stylesheet>
"stylesheet" and "xsl:stylesheet" aren't the same, so any XML parser should object.
+-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer | +-----------------------+------------------------+-------------------+ | XML in a Nutshell, 2nd Edition (O'Reilly, 2002) | | http://www.cafeconleche.org/books/xian2/ | | http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Entities within my styles, Jeni Tennison | Thread | [xsl] Rendering XML/XSL, ver |
RE: [xsl] How do I capture the text, Michael Kay | Date | RE: [xsl] hardware xml / xslt, Michael Kay |
Month |