Results 1 to 2 of 2

Thread: About QDomDocument.elementById()

  1. #1
    Join Date
    Nov 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default About QDomDocument.elementById()

    According to the documentation: "this function returns always a null element" (why not yet implemented???).
    Is there an alternative way to lookup and retrieve a node in a QDomDocument with a specific ID?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: About QDomDocument.elementById()

    Walk the DOM tree element by element and query each element for the ID you need.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QDomDocument & XML
    By ManuMies in forum Qt Programming
    Replies: 1
    Last Post: 29th April 2009, 07:46
  2. Need help for QDomDocument
    By vajindarladdad in forum Newbie
    Replies: 6
    Last Post: 22nd April 2009, 12:18
  3. Need QDomDocument Example
    By vajindarladdad in forum Newbie
    Replies: 4
    Last Post: 21st April 2009, 13:54
  4. Split QDomDocument to new QDomDocument
    By estanisgeyer in forum Qt Programming
    Replies: 4
    Last Post: 28th January 2009, 09:59
  5. QDomDocument inside other QDomDocument
    By estanisgeyer in forum Qt Programming
    Replies: 1
    Last Post: 13th November 2008, 15:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.