From: Sean W. <se...@ya...> - 2003-09-16 13:24:58
|
--- Artur Hefczyc <ko...@pl...> wrote: > > > <xi:include href="&some_file;"/> > > Though I am not sure what you mean between > external > > file and filename. Its seems they are the same. Or > is > > there a shade of grey that I don't see. > I mean, if you use some entity &some_file; you can > have > in target document file name in place of entity or > file > content depending on entity definition. > > If you use netities in place of <xinclude> element > (for modular > documentatiom) you would like to have file content > in place > of entity but > in my above example I want to have only file name > but not file > content. Ok. So if I have correct. The following usage should be true. 1. You have a file (global.ent) that declares all the ENTITIES in the project, that is included in the document prolog. 2. The PUBLIC or SYYSTEM part of the Entity may resolve to an external file containing either: i. A well-formed and valid XML document as CDATA. or ii. Any file with a string value as CDATA. 3. When processing the principle is to use <xi:include href="&some_file;"/> So where &some_file; is = to i. or ii. If ENTITY contains i. then the content of the XML String will replace the <xi:include href="&some_file;"/> else the string contained in ii. will replace &some_file; in <xi:include href="&some_file;"/> Is this correct? Sean __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |