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

  • From: David Megginson <david@m...>
  • To: xml-dev@i...
  • Date: Wed, 5 Aug 1998 17:12:51 -0400

Joe Duhamel writes:

 > Is ther a facility inside sax for picking up the comments?  We are
 > using an XML Document to model a UML System and would like to
 > 'preserve' comments from any hand editing that may have been done.

No, there is not -- XML comments are purely lexical.  If you want to
include comments that are significant to the document, then you might
want to consider representing them as elements:

  <declaration>
    <comment>Last modified 1998-07-13</comment>
    ...
  </declaration>


All the best,


David

-- 
David Megginson                 david@m...
           http://www.megginson.com/

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/
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