Results 1 to 3 of 3

Thread: sax xml parser, QtXml

  1. #1
    Join Date
    Apr 2007
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Red face sax xml parser, QtXml

    Hello there,

    I have written some code that reads an xml file and displays the included tags. I am using Qt 4.1.3 and work under Linux. After several time I managed to get this to run. Now, I would like to count the tags and display only the root tag. Is there any way that might be possible?? Any help is appreciated!!!

    Kind Regards,
    Lara

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: sax xml parser, QtXml

    You mean something like a tree view? The root tag should be collapsed, or what?

  3. #3
    Join Date
    Apr 2007
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: sax xml parser, QtXml

    Quote Originally Posted by marcel View Post
    You mean something like a tree view? The root tag should be collapsed, or what?
    Hi Marcel!,

    many thanks for replying! I would like some tags to be assigned to variables and make for example the root tag be displayed in the output. Futher, I would like to count the number of tags I have in the xml file. If you could help me out here I will be more that happy!

    Buy for now,
    Lara

Similar Threads

  1. Parser in Qt.... HELP!
    By deepusrp in forum Newbie
    Replies: 6
    Last Post: 23rd January 2007, 21:18
  2. Accessing DTD in an XML file via QtXml module?
    By jorma in forum Qt Programming
    Replies: 1
    Last Post: 6th May 2006, 18:09

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.