Subject: RE: [xsl] Parameter entity must be defined before it is used From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx> Date: Thu, 6 May 2004 09:38:43 +0100 |
> So the input could be something like: > ----------------------------------------------------------- > <?xml version="1.0" encoding="ISO-8859-1"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" > "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" > [<!ENTITY mathml > "http://www.w3.org/1998/Math/MathML">]> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <title>test-1</title> > </head> > > <body> > <h1>Forside</h1> > bla bla > <math xmlns="http://www.w3.org/1998/Math/MathML"> > <mrow> > <msqrt> > <mrow> > <mi>α</mi> > </mrow> > </msqrt> > </mrow> > </math> > </body> > </html> Well afaict there is something wrong with the dtd - but its far too big to dicpher :) The xhtml will display in your browser because most likely it makes no attempt to get the dtd (I don't know about Mozilla but IE certainly doesn't use an xml parser for xhtml). A good way to highlight this is alter the system path for the dtd - it will still display in your browser but the xml parser will throw an error that it can't find the file specified. Are you sure that the dtd really is an xml dtd? cheers andrew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Parameter entity must be , Morten Andersen | Thread | Re: [xsl] Parameter entity must be , David Carlisle |
Re: [xsl] Parameter entity must be , Peter Flynn | Date | RE: [xsl] XPath count function in J, Andrew Welch |
Month |