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:
     http://xmlsoft.org/xmlreader.html

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

And I'd like the output:

.PP
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

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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