We are working on a C++ version, this is in plan. Please see
http://xml.apache.org/xerces-c/releases_plan.html.
Tinny
- Original Message -
From: "David R." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 10:03 AM
Subject: Re: Pretty print
You can always adapt it, making a c++ version. There's not too much code in
a writer. Looking around a bit in my archives I did find a sample way of
accomplishing it. The zip file is attached.
Alternatively you could create your own pre-order tree walker that either
generates SAX events (which
I found some pages talking about a DOMWriter class, but I think that it
belongs to the DOM 3 specification and that is only available in the java
version, isn't it?
>From: Robert Buck <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re
David,
You can try using the attached code to prettify the DOM.
Hope this helps,
Evert
> -Original Message-
> From: David R. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 3:37 PM
> To: [EMAIL PROTECTED]
> Subject: Pretty printing a DOM tree
>
>
>
There are lots of examples on the web for "pretty print" serializers. Do a
search at google. They all are basically the same and work well.
Bob
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
I am using a piece of code extracted from the DOMPrint sample in order to
dump a DOM tree into a XML file. I have also taken a look at the serializer
at the following address:
http://www.xs4all.nl/~ewh/DOMSerializer
Both solutions generate a XML file which is very difficult to be read by a
hu