IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

XML Processing

An Overview of the XML processing facilities in Qt.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

XML Processing

Qt provides two general-purpose sets of APIs to read and write well-formed XML: stream based and DOM based.

Qt also provides specific support for some XML dialects. For instance, the Qt SVG module provides the QSvgRenderer and QSvgGenerator classes to read and write a subset of SVG, an XML-based file format. Qt also provides helper functions that may be useful to those working with XML and XHTML: see Qt::escape() and Qt::convertFromPlainText().

Topics:

Classes for XML Processing

These classes are relevant to XML users.

  • QDomAttr: The QDomAttr class represents one attribute of a QDomElement.

  • QDomCDATASection: The QDomCDATASection class represents an XML CDATA section.

  • QDomCharacterData: The QDomCharacterData class represents a generic string in the DOM.

  • QDomComment: The QDomComment class represents an XML comment.

  • QDomDocument: The QDomDocument class represents an XML document.

  • QDomDocumentFragment: The QDomDocumentFragment class is a tree of QDomNodes which is not usually a complete QDomDocument.

  • QDomDocumentType: The QDomDocumentType class is the representation of the DTD in the document tree.

  • QDomElement: The QDomElement class represents one element in the DOM tree.

  • QDomEntity: The QDomEntity class represents an XML entity.

  • QDomEntityReference: The QDomEntityReference class represents an XML entity reference.

  • QDomImplementation: The QDomImplementation class provides information about the features of the DOM implementation.

  • QDomNamedNodeMap: The QDomNamedNodeMap class contains a collection of nodes that can be accessed by name.

  • QDomNode: The QDomNode class is the base class for all the nodes in a DOM tree.

  • QDomNodeList: The QDomNodeList class is a list of QDomNode objects.

  • QDomNotation: The QDomNotation class represents an XML notation.

  • QDomProcessingInstruction: The QDomProcessingInstruction class represents an XML processing instruction.

  • QDomText: The QDomText class represents text data in the parsed XML document.

  • QXmlStreamAttribute: The QXmlStreamAttribute class represents a single XML attribute.

  • QXmlStreamAttributes: The QXmlStreamAttributes class represents a vector of QXmlStreamAttribute.

  • QXmlStreamEntityDeclaration: The QXmlStreamEntityDeclaration class represents a DTD entity declaration.

  • QXmlStreamEntityResolver: The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.

  • QXmlStreamNamespaceDeclaration: The QXmlStreamNamespaceDeclaration class represents a namespace declaration.

  • QXmlStreamNotationDeclaration: The QXmlStreamNotationDeclaration class represents a DTD notation declaration.

  • QXmlStreamReader: The QXmlStreamReader class provides a fast parser for reading well-formed XML via a simple streaming API.

  • QXmlStreamWriter: The QXmlStreamWriter class provides an XML writer with a simple streaming API.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+