This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Entity References


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]