Re: [xml] Using some SAX functionality inside DOM: A quite newbie question

On Wed, Feb 12, 2003 at 11:08:20PM -0300, Lucas Brasilino wrote:
Is HOW can I in some way format output just like SAX do. Let's suppose
another example:

  I don't suggest your invest time in libxml2 SAX API, use the reader
one instead:

The world is <bold>beautiful</bold> with XML

And I'd like the output:

The world is
.B beaultiful
with XML

How can I do it using DOM ?

  That should be relatively trivial with the reader interface,
just need to modify the examples.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]