Тёмный

C++ Qt 95 - Read XML with DOM 

VoidRealms
Подписаться 84 тыс.
Просмотров 59 тыс.
50% 1

QML Beginners: www.udemy.com/course/qml-for-...
Qt Core Beginners: www.udemy.com/course/qt-core-...
Qt Core Intermediate: www.udemy.com/course/qt-core-...
QT Core Advanced: www.udemy.com/course/qt-core-...
Qt Widgets Beginners: www.udemy.com/course/qt-widge...

Опубликовано:

 

27 сен 2011

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@zenabsalimkhan
@zenabsalimkhan 9 лет назад
Amazing tutorial ... helped me a lot :D and apart from loving the way you explained everything... I loved your talks about your cat :D
@seanyiu
@seanyiu 11 лет назад
Hi Bryan Thanks for the tutorial. Got me going. The second part into Chapters is probably better this way: QDomElement books = root.firstChildElement(); while (!books.isNull()) { ListElements(books, "Chapter", "Name"); books = books.nextSiblingElelemnt(); }
@samuellourenco1050
@samuellourenco1050 5 лет назад
This video was very useful. I've managed to upgrade an application of mine, by adding a feature that allows to load and save the settings from and to a XML file. Thanks!
@vynytobypav
@vynytobypav 9 лет назад
you are very good! thanks for all well done work.
@necroludwig
@necroludwig 10 лет назад
Thanks a lot, really clear and helpfull!
@Carnifrex
@Carnifrex 12 лет назад
Thanks a lot! It was very clear and helped a lot!
@abhijitlamsoge
@abhijitlamsoge 7 лет назад
Thanks. Good Stuff.
@matutolaYT
@matutolaYT 11 лет назад
Hello Bryan First of all, thank you, you were a great help for me to start on Qt programming. About XML, you are using attributes to store data, but it's my opinion that data should be stored inside an element, and attributes should be used only to extend the info about the element. Anyway, thank you
@nonjabulomangoro1871
@nonjabulomangoro1871 2 года назад
Thank you!
@basavarajukurisiddegowda2005
@basavarajukurisiddegowda2005 7 лет назад
Great Video
@bobdole8324
@bobdole8324 7 лет назад
Thanks for the great videos! I am wondering how I can take an element and populate the text of a label based on the data in the XML list... any ideas?
@mounirmadjour9299
@mounirmadjour9299 4 года назад
Hey Bryan thank you so much
@prachi1807
@prachi1807 11 лет назад
Hey! Can you please upload a video describing how to read and modify an xml file using QXmlStreamReader and QXmlStreamWriter?
@lospolos1802
@lospolos1802 7 лет назад
Thanks
@winuxworx
@winuxworx 9 лет назад
A node is a single record that describes a single object while an element is one of the items in the node which could be another node.
@ChinnyxD
@ChinnyxD 11 лет назад
@VoidRealms Thanks for this tutorial, you really helped me out! As for cats.. My cat is also a bit wierd. It has a bad habit to sleep near the edge of a chair and when it rolls over, it falls to the ground and pretending to be dead for a few seconds. When my little sister saw that for the first time, she panicked and screamed, it was so funny to see that xD
@ianvandeventer196
@ianvandeventer196 4 года назад
Dom is for small docs and Sax is for larger files... In my opinion since dom reads everything to mem at once so your limited by how much ram you have...
@yousayeds
@yousayeds 9 лет назад
Are there any good video's or other resources, for Reading XML using SAX?
@richardhewitt3237
@richardhewitt3237 12 лет назад
could you by any chance do a quick video on the SAX (that you mentioned in the video)
@budavargas
@budavargas 7 лет назад
You have my Like, and you have my Comment... and my Subscribe
@VoidRealms
@VoidRealms 7 лет назад
Roberto Vargas awesome. be sure to join the voidrealms Facebook group
@anonimminona3421
@anonimminona3421 4 года назад
Hello. I'd like to ask could you make videos about pugixml with c++ reading xml files with dom.. Also, a video comparing 2 xml files?
@nicolas2007c
@nicolas2007c 10 лет назад
Thanks a lot! May you upload the code please!
@ErdeAnAlle
@ErdeAnAlle 9 лет назад
Thanks a lot. I would give you 2 thumbs up if i could!
@Extrovert1080
@Extrovert1080 11 лет назад
I ran into a runtime error with if(!document.sectContent(&file) It turns out that this is actually a QFile error and was reported but never fixed. Google "QDomDocument::setContent in combination with QFile::open with QIODevice::ReadOnly bug" If anyone is interested in a fix its that you pass in a string with the file contents instead of the file. This is what the code should look like. QTextStream stream(&file); if(!document.setContent(stream.readAll()) {..... just saving anyone the trouble
@oulupulu
@oulupulu 10 лет назад
DOM is better.
Далее
C++ Qt 96 - Simple Application - XML Editor
35:39
Просмотров 30 тыс.
Falling In Love With Gleam
33:26
Просмотров 196 тыс.
ЗЕНИТ - РОСТОВ: обзор матча
01:03
Просмотров 191 тыс.
C++ Qt 62 - Viewer Feedback Signals and Slots in depth
17:33
Don't throw exceptions in C#. Do this instead
18:13
Просмотров 255 тыс.
C++ Qt 66 - QTCPSocket using signals and slots
16:34
Просмотров 57 тыс.
C++ Qt 84  - User Feedback how to deploy an application
12:45
Gitlab DELETING Production Databases | Prime Reacts
17:27
BEST WAY to make Desktop Applications in C++
26:00
Просмотров 900 тыс.
ЗЕНИТ - РОСТОВ: обзор матча
01:03
Просмотров 191 тыс.