Results 1 to 2 of 2

Thread: QDomDocument inside other QDomDocument

  1. #1
    Join Date
    Jan 2008
    Location
    Brasil
    Posts
    131
    Thanks
    18
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation QDomDocument inside other QDomDocument

    Hi friends,

    I'm creating an xml document (with QDomDocument) and want to import a xml file (load file with QFile and put content with QDomDocument::setContent), placing it as a node. Is it possible?

    Thanks,

    Marcelo E. Geyer

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QDomDocument inside other QDomDocument

    use QDomDocument::appendChild. (this method QDomDocument inherits from QDomNode)
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  3. The following user says thank you to spirit for this useful post:

    estanisgeyer (13th November 2008)

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.