Headings: XML vs. XSL

John Martin John.Martin at ncmail.net
Tue Jul 6 20:01:13 BST 1999


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 at 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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list