Here is the doc on the class that can represent a comment, but like you I came up with no search results as to how to use it.
http://castor.codehaus.org/api/org/exolab/castor/types/AnyNode.html ----- Original Message ----- From: "Siddharth Chhabra" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, February 11, 2005 1:03 PM Subject: [castor-user] regarding unmarshalling comments > > hi > > I do not know how to unmarshal xml comments(<!-- -->). > Can I somehow get the text inside the xml comments in > some fields/Listener ? Plus the fact that they can > exist anywhere in the xml file further compounds the > problem ? > > I thought I had things under control, but a change in > requirements now forces us to read these > comments(supposed to be annotations in the xml source) > and make something out of them. A search on the user > list with keywords 'unmarshal comments', and various > other permutations yielded nothing much. > > If a developer/user could point me to a thread or give > me a snippet of a mapping file or explain how to g > about doing it, I would be extremely thankful. > > -Siddharth > > ________________________________________________________________________ > Yahoo! Messenger - Communicate instantly..."Ping" > your friends today! Download Messenger Now > http://uk.messenger.yahoo.com/download/index.html > > > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-user ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-user
