W3C home > Mailing lists > Public > xml-editor@w3.org > October to December 2000

Re: Entity References

From: Eve L. Maler <eve.maler@east.sun.com>
Date: Tue, 12 Dec 2000 09:23:26 -0500
Message-Id: <5.0.0.25.2.20001212092242.024d99f0@abnaki.east.sun.com>
To: "Yatin Pattni" <yatin.pattni@db.com>
Cc: xml-editor@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:31 GMT