[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Interesting QDomDocument::setContent variant
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-02-16 9:54:53
Message-ID: 200402161054.54118.nicolasg () snafu ! de
[Download RAW message or body]

While reading the Qt doc, I have found an interesting QDomDocument::setContent 
variant:

bool QDomDocument::setContent( QXmlInputSource *source, QXmlReader *reader, 
QString *errorMsg, int *errorLine, int *errorColumn  )

It permits to have access to the SAX parser, therefore also to set the SAX 
parser, for example to alway report white space, including things like:
<test>                               </test>

Have a nice day!

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic