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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Headings: XML vs. XSL

[ Lists Home | Date Index | Thread Index ]
  • From: John Martin <John.Martin@ncmail.net>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 06 Jul 1999 14:02:49 -0400

In general, is it better to code headings into XML or to handle them
with XSL?  For instance, I want my output to look like:

Effective date:  July 1, 1999

Would I code my DTD as

<POLICY-EFFECTIVE>
<POLICY-EFFECTIVE-HEADING>Effective Date:</POLICY-EFFECTIVE-HEADING>
<POLICY-EFFECTIVE-DATE>July 1, 1999</POLICY-EFFECTIVE-DATE>
</POLICY-EFFECTIVE>

Or would it be better/more efficient to code it as:

<POLICY-EFFECTIVE-DATE>July 1, 1999</POLICY-EFFECTIVE-DATE>

and add the heading in with XSL.

Thanks,
John



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

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

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