Re: Entity References

Yes, this is possible.  You just need to be sure that the document entity 
(the main document file) has a <DOCTYPE...> declaration that declares all 
the entities, no matter at what level the references to them appear.

         Eve

At 11:15 AM 12/12/00 +0000, Yatin Pattni wrote:

>Hi,
>
>Do you know if it is possible to have entity references that resolve more 
>than a single level deep?
>
>eg.
>
>file.xml
>
><file>
>   &section1;
></file>
>
>
>section1.xml
>
><section>
>   &rule1;
></section>
>
>
>rule1.xml
>
><rule>
>   some text
></rule>
>
>
>so that file1.xml has a reference to section1.xml which in turn has a 
>reference to rule1.xml.
>
>This does not appear to work........
>
>Many Thanks
>
>Yatin
>
>
>--
>
>This e-mail may contain confidential and/or privileged information. If you 
>are not the intended recipient (or have received this e-mail in error) 
>please notify the sender immediately and destroy this e-mail. Any 
>unauthorised copying, disclosure or distribution of the material in this 
>e-mail is strictly forbidden.

--
Eve Maler                                          +1 781 442 3190
Sun Microsystems XML Technology Center    eve.maler @ east.sun.com

Received on Tuesday, 12 December 2000 09:24:40 UTC