[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: general entity
The only problem I see is that you need to wrap your entity declarations in a DOCTYPE statement: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mydoctype [ <!ENTITY % myOtherDTD SYSTEM "myOtherDTD.dtd"> %myOtherDTD; <!ENTITY dataTest "replacement text"> ]> <mydoctype>...</mydoctype> -- Ron Kevin.Gutch@m... wrote: > > I have a DTD that uses an parameter entity to import another dtd. Its only > other function is to then declare a general internal. My problem is that my > xml file will validate against this dtd but will not recognize the > reference to the Entity in the XML file. Should this work and is it > appropriate? > > <?xml version="1.0" encoding="UTF-8"?> > <!ENTITY % myOtherDTD SYSTEM "myOtherDTD.dtd"> > %myOtherDTD; > <!ENTITY dataTest "replacement text">
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|