[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: KoXmlReader
From: Thomas Zander <zander () kde ! org>
Date: 2006-12-27 12:33:46
Message-ID: 200612271333.47308.zander () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Tuesday 26 December 2006 22:25, Ariya Hidayat wrote:
> It is now available in:
> http://wiki.koffice.org/index.php?title=KoXmlReader
Your example code doesn't use any named nodes; which means the ordering of the
nodes is relevant. (=fragile) Also it uses firstChild().toElement();
Would you mind updating the example by using the equivalent of
the QDomNode method;
QDomElement firstChildElement (const QString &tagName=QString()) const
so;
spreadsheetElement = bodyElement.firstChild().toElement();
becomes;
spreadsheetElement = bodyElement.firstChildElement("sheet");
Cheers!
--
Thomas Zander
[Attachment #5 (application/pgp-signature)]
_______________________________________________
koffice-devel mailing list
koffice-devel@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