OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Doubt regading gen. entity ref. in element content

[ Lists Home | Date Index | Thread Index ]
  • From: "Amit Rekhi" <amitr@abinfosys.com>
  • To: "Xml-Dev (E-mail)" <xml-dev@ic.ac.uk>
  • Date: Thu, 15 Oct 1998 11:11:15 +0530

Hello,
            Would there be any change in the element content model if the
element content contained an external parsed general entity refrence?. i.e.

If I have an xml file :-
            .
            .
            <?xml version="1.0"?>
            <!DOCTYPE root-ele [
               <!ENTITY ele2-replace SYSTEM "ele2.xml">
               <!ELEMENT root-ele (ele1,ele2)>
               <!ELEMENT ele1 (#PCDATA)>
               <!ELEMENT ele2 (#PCDATA)>
            ]>
            <root-ele>
             <ele1>Test1</ele1>
             &ele2-replace;
            </root-ele>
            .
            .
            /*----file = ele2.xml-----*/
            <ele2>Test</ele2>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS