Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
doc_src_qtxml.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
//! [3]
5
<quote>A quotation.</quote>
6
//! [3]
7
8
9
//! [4]
10
<document xmlns:book =
'http://example.com/fnord/book/'
11
xmlns =
'http://example.com/fnord/'
>
12
//! [4]
13
14
15
//! [5]
16
<author xmlns:fnord =
'http://example.com/fnord/'
17
title=
"Ms"
18
fnord:title=
"Goddess"
19
name=
"Eris Kallisti"
/>
20
//! [5]
21
22
23
//! [6]
24
<document>
25
<book>
26
<title>Practical XML</title>
27
<author title=
"Ms"
name=
"Eris Kallisti"
/>
28
<chapter>
29
<title>A Namespace Called fnord</title>
30
</chapter>
31
</book>
32
</document>
33
//! [6]
34
35
36
//! [7]
37
<book:title>Practical XML</book:title>
38
//! [7]
39
40
41
//! [8]
42
xmlns=
"http://example.com/fnord/"
43
//! [8]
44
45
46
//! [9]
47
xmlns:book=
"http://example.com/fnord/book/"
48
//! [9]
49
50
51
//! [10]
52
<document xmlns:book =
'http://example.com/fnord/book/'
53
xmlns =
'http://example.com/fnord/'
>
54
<book>
55
<book:title>Practical XML</book:title>
56
<book:author xmlns:fnord =
'http://example.com/fnord/'
57
title=
"Ms"
58
fnord:title=
"Goddess"
59
name=
"Eris Kallisti"
/>
60
<chapter>
61
<title>A Namespace Called fnord</title>
62
</chapter>
63
</book>
64
</document>
65
//! [10]
qtbase
src
xml
doc
snippets
code
doc_src_qtxml.qdoc
Generated on
for Qt by
1.18.0