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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] so many options no idea where to begin

[ Lists Home | Date Index | Thread Index ]

At 2002-07-30 17:24 -0700, Rick Jones wrote:
>*) i'm not sure when one "should" use attributes versus a nested element

Check out http://xml.coverpages.org/elementsAndAttrs.html for a few opinions.

>*) my config files may become quite large - XInclude sounds interesting,
>but a fully formed file XIncluded (at least via libxml) has the whole
>file as a sub-element when what I really want (I think anyway) is the
>elements in the file being included be at the same depth as the include
>itself (ie up one level)

Personally, I'm a big fan of external parsed general entities for the 
management of a single large XML document in many small pieces.  My 
training material is authored in XML and to change one paragraph I need 
only pull a lesson entity into a text editor instead of the entire course.

I do *not* use such constructs for sharing information as fragments between 
multiple XML instances; I use XSLT to extract fragments of an XML document, 
thus keeping every external parsed general entity in a single parsing 
context (set of DTD declarations for entities).

I hope this helps.

................... Ken


--
Upcoming hands-on in-depth 3-days XSLT/XPath and/or 2-days XSL-FO:
-                               North America:  Sep 30-Oct  4,2002
-                               Japan:          Oct  7-Oct 11,2002

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/x/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1                Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed),
articles, training (instructor-live,Internet-live,web/CD,licensed)
Next public training:           2002-08-05,26,27,09-30,10-03,07,10





 

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

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