Next in thread →
Next in month →
Re: [xml-dev] External entities
Gustaf Liljegren scripsit: > <?xml version="1.0"?> > <!ENTITY alef "א"> > ... > > And here's the document entity mydoc.xml: > > <?xml version="1.0"?> > <!DOCTYPE doc [ > <!ENTITY hebrew SYSTEM "hebrew.ent"> > ]> It needs to be not "hebrew" but "% hebrew", and you need to actually invoke the parameter entity by adding "%hebrew;" at the end of the DOCTYPE declaration. > What kind of entity is "alef"? I know it's a general entity, but that's not > precice enough, and "external general entity" is the whole file. There is no standard terminology based on the place where an entity is declared. I use the term "internal general entity externally declared", and likewise for the other three possibilities. -- Even a refrigerator can conform to the XML John Cowan Infoset, as long as it has a door sticker saying "No information items inside". http://www.reutershealth.com --Eve Maler http://www.ccil.org/~cowan
Next in thread →
Next in month →