Dean,
thank you very much
-----Original Message-----
From: Dean Roddey [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 5:24 PM
To: '[EMAIL PROTECTED]'
Subject: RE: tools for generating XML document
Generating XML doesn't really need much in the way of tools. If you have
some proprietary data format, even if there was a tool you'd have to write
some code of some sort to massage it such that the tool could understand it.
By that point, the extra step to just generate the document yourself (and
avoid the gotchas of using another tool) isn't very much at all. Basically
all you need is a stream to format to, and a couple of helper methods that
will automatically escape characters not valid at that point in an XML
document or invalid for the target encoding.
The XMLFormatter and XMLFormatterTarget classes provide the bulk of what
you'd need to do that, so it would just require you to write some code to
drive these classes from your source data.
--------------
Dean Roddey
Software Geek Extraordinaire
Portal, Inc
[EMAIL PROTECTED]
-----Original Message-----
From: Awasthi, Anand [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 3:20 PM
To: '[EMAIL PROTECTED]'
Subject: tools for generating XML document
Hi,
i got a requirement in which i have to generate on the fly XML documents
from some propritery
data.
do we have any tool at first place which generates XML documents on the fly
??
Thanks
Anand
-----Original Message-----
From: Chris Hill [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 5:18 PM
To: [EMAIL PROTECTED]
Subject: comments outside root
My advanced handler (XMLDocumentHandler) wasn't receiving docComment events
for comments outside the root element, so I took a look at
SAXParser::docComment, and it is intentionally suppressing the events. Is
there any particular reason that comments outside the root are
suppressed? Processing instructions are permitted, why not comments?
Looking in the CVS log I see that this behavior was changed then changed
back in SAXParser.cpp 1.12 and 1.13. Perhaps comments slipped through the
cracks? In the mail archives, I found a fragment of a conversation about
this. I don't think comments should be suppressed.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]