Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Newbie Question [Thread Next] Re: Newbie QuestionTo: NULL Date: 7/1/2008 6:29:00 PM rhino wrote: > A clearer error message that actually said something like " is not > permitted in XSLT documents" Actually, the issue is at a slightly different level: The entity name is not defined by default in XML, and XSLT is an XML language. If you want this available, it has to be defined in the Document Type Declaration (DTD) for the specific document -- the stylesheet in this case -- either in the DTD file or in the Internal Subset. (And yes, I do specifically mean DTD. XML Schemas chose not to support the declaration of entities, for a number of reasons largely having to do with wanting to push folks toward purer XML syntax.) This is one reason I hesitate to point folks toward "simplified" tutorials... all too often, what gets left out turns out to be important when the first real-world task comes along. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
