[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Martin <John.Martin@n...>
  • To: xml-dev@i...
  • 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@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member