--===============1005538571== Content-Type: multipart/signed; boundary="nextPart1575085.DuRgUOONav"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1575085.DuRgUOONav Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 26 December 2006 22:25, Ariya Hidayat wrote: > It is now available in: > http://wiki.koffice.org/index.php?title=3DKoXmlReader Your example code doesn't use any named nodes; which means the ordering of = the=20 nodes is relevant. (=3Dfragile) Also it uses firstChild().toElement(); Would you mind updating the example by using the equivalent of the QDomNode method; QDomElement firstChildElement (const QString &tagName=3DQString()) const so; spreadsheetElement =3D bodyElement.firstChild().toElement(); becomes; spreadsheetElement =3D bodyElement.firstChildElement("sheet"); Cheers! =2D-=20 Thomas Zander --nextPart1575085.DuRgUOONav Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBFkmgrCojCW6H2z/QRAsgYAJ98rwIgl9VhW5KX+xilOdCL13qtJgCgjX65 qL4V7z/DdMZKabQ54K7dsMo= =Zex3 -----END PGP SIGNATURE----- --nextPart1575085.DuRgUOONav-- --===============1005538571== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============1005538571==--