This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Entity References
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Entity References
- From: Mike Brown <mike at skew dot org>
- Date: Wed, 8 Aug 2001 17:07:46 -0600 (MDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Werner Hager wrote:
> Do the entity declarations need to be in the MathML document? I tried
> declaring them in my XSLT and still recieved the error.
Entity declarations for a document must be in that document's DTD. So yes, you need to
put them in the internal subset of the MathML document's DTD (safest), or in a separate
file containing the external subset (less safe in theory, since it might not be read).
You can't put the source XML's declarations in the stylesheet XML's DTD and expect the
XML parser to know the difference.
- Mike
____________________________________________________________________________
mike j. brown, fourthought.com | xml/xslt: http://skew.org/xml/
denver/boulder, colorado, usa | personal: http://hyperreal.org/~mike/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list