diff options
Diffstat (limited to 'doc/html/tqdomdocument.html')
-rw-r--r-- | doc/html/tqdomdocument.html | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/doc/html/tqdomdocument.html b/doc/html/tqdomdocument.html index b0d145098..9d7a64cd3 100644 --- a/doc/html/tqdomdocument.html +++ b/doc/html/tqdomdocument.html @@ -168,7 +168,7 @@ representing the XML document is deleted. <a href="tqdomtext.html">TQDomText</a> t = doc.<a href="#createTextNode">createTextNode</a>( "Hello World" ); tag.<a href="tqdomnode.html#appendChild">appendChild</a>( t ); - <a href="ntqstring.html">TQString</a> xml = doc.<a href="#toString">toString</a>(); + <a href="tqstring.html">TQString</a> xml = doc.<a href="#toString">toString</a>(); </pre> <p> For further information about the Document Object Model see @@ -183,7 +183,7 @@ TQDomDocument documentation. </h3> Constructs an empty document. -<h3 class=fn>explicit <a name="TQDomDocument-2"></a>TQDomDocument::TQDomDocument ( const <a href="ntqstring.html">TQString</a> & name ) +<h3 class=fn>explicit <a name="TQDomDocument-2"></a>TQDomDocument::TQDomDocument ( const <a href="tqstring.html">TQString</a> & name ) </h3> Creates a document and sets the name of the document type to <em>name</em>. @@ -203,13 +203,13 @@ will also change the other. If you want to make a <a href="shclass.html#deep-cop </h3> Destroys the object and frees its resources. -<h3 class=fn><a href="tqdomattr.html">TQDomAttr</a> <a name="createAttribute"></a>TQDomDocument::createAttribute ( const <a href="ntqstring.html">TQString</a> & name ) +<h3 class=fn><a href="tqdomattr.html">TQDomAttr</a> <a name="createAttribute"></a>TQDomDocument::createAttribute ( const <a href="tqstring.html">TQString</a> & name ) </h3> Creates a new attribute called <em>name</em> that can be inserted into an element, e.g. using <a href="tqdomelement.html#setAttributeNode">TQDomElement::setAttributeNode</a>(). <p> <p>See also <a href="#createAttributeNS">createAttributeNS</a>(). -<h3 class=fn><a href="tqdomattr.html">TQDomAttr</a> <a name="createAttributeNS"></a>TQDomDocument::createAttributeNS ( const <a href="ntqstring.html">TQString</a> & nsURI, const <a href="ntqstring.html">TQString</a> & qName ) +<h3 class=fn><a href="tqdomattr.html">TQDomAttr</a> <a name="createAttributeNS"></a>TQDomDocument::createAttributeNS ( const <a href="tqstring.html">TQString</a> & nsURI, const <a href="tqstring.html">TQString</a> & qName ) </h3> Creates a new attribute with namespace support that can be inserted into an element. The name of the attribute is <em>qName</em> @@ -218,13 +218,13 @@ and the namespace URI is <em>nsURI</em>. This function also sets (depending on <em>qName</em>). <p> <p>See also <a href="#createAttribute">createAttribute</a>(). -<h3 class=fn><a href="tqdomcdatasection.html">TQDomCDATASection</a> <a name="createCDATASection"></a>TQDomDocument::createCDATASection ( const <a href="ntqstring.html">TQString</a> & value ) +<h3 class=fn><a href="tqdomcdatasection.html">TQDomCDATASection</a> <a name="createCDATASection"></a>TQDomDocument::createCDATASection ( const <a href="tqstring.html">TQString</a> & value ) </h3> Creates a new CDATA section for the string <em>value</em> that can be inserted into the document, e.g. using <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(). <p> <p>See also <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(), <a href="tqdomnode.html#insertBefore">TQDomNode::insertBefore</a>(), and <a href="tqdomnode.html#insertAfter">TQDomNode::insertAfter</a>(). -<h3 class=fn><a href="tqdomcomment.html">TQDomComment</a> <a name="createComment"></a>TQDomDocument::createComment ( const <a href="ntqstring.html">TQString</a> & value ) +<h3 class=fn><a href="tqdomcomment.html">TQDomComment</a> <a name="createComment"></a>TQDomDocument::createComment ( const <a href="tqstring.html">TQString</a> & value ) </h3> Creates a new comment for the string <em>value</em> that can be inserted into the document, e.g. using <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(). @@ -236,13 +236,13 @@ Creates a new document fragment, that can be used to hold parts of the document, e.g. when doing complex manipulations of the document tree. -<h3 class=fn><a href="tqdomelement.html">TQDomElement</a> <a name="createElement"></a>TQDomDocument::createElement ( const <a href="ntqstring.html">TQString</a> & tagName ) +<h3 class=fn><a href="tqdomelement.html">TQDomElement</a> <a name="createElement"></a>TQDomDocument::createElement ( const <a href="tqstring.html">TQString</a> & tagName ) </h3> Creates a new element called <em>tagName</em> that can be inserted into the DOM tree, e.g. using <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(). <p> <p>See also <a href="#createElementNS">createElementNS</a>(), <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(), <a href="tqdomnode.html#insertBefore">TQDomNode::insertBefore</a>(), and <a href="tqdomnode.html#insertAfter">TQDomNode::insertAfter</a>(). -<h3 class=fn><a href="tqdomelement.html">TQDomElement</a> <a name="createElementNS"></a>TQDomDocument::createElementNS ( const <a href="ntqstring.html">TQString</a> & nsURI, const <a href="ntqstring.html">TQString</a> & qName ) +<h3 class=fn><a href="tqdomelement.html">TQDomElement</a> <a name="createElementNS"></a>TQDomDocument::createElementNS ( const <a href="tqstring.html">TQString</a> & nsURI, const <a href="tqstring.html">TQString</a> & qName ) </h3> Creates a new element with namespace support that can be inserted into the DOM tree. The name of the element is <em>qName</em> and the @@ -251,13 +251,13 @@ namespace URI is <em>nsURI</em>. This function also sets (depending on <em>qName</em>). <p> <p>See also <a href="#createElement">createElement</a>(). -<h3 class=fn><a href="tqdomentityreference.html">TQDomEntityReference</a> <a name="createEntityReference"></a>TQDomDocument::createEntityReference ( const <a href="ntqstring.html">TQString</a> & name ) +<h3 class=fn><a href="tqdomentityreference.html">TQDomEntityReference</a> <a name="createEntityReference"></a>TQDomDocument::createEntityReference ( const <a href="tqstring.html">TQString</a> & name ) </h3> Creates a new entity reference called <em>name</em> that can be inserted into the document, e.g. using <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(). <p> <p>See also <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(), <a href="tqdomnode.html#insertBefore">TQDomNode::insertBefore</a>(), and <a href="tqdomnode.html#insertAfter">TQDomNode::insertAfter</a>(). -<h3 class=fn><a href="tqdomprocessinginstruction.html">TQDomProcessingInstruction</a> <a name="createProcessingInstruction"></a>TQDomDocument::createProcessingInstruction ( const <a href="ntqstring.html">TQString</a> & target, const <a href="ntqstring.html">TQString</a> & data ) +<h3 class=fn><a href="tqdomprocessinginstruction.html">TQDomProcessingInstruction</a> <a name="createProcessingInstruction"></a>TQDomDocument::createProcessingInstruction ( const <a href="tqstring.html">TQString</a> & target, const <a href="tqstring.html">TQString</a> & data ) </h3> Creates a new processing instruction that can be inserted into the document, e.g. using <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(). This function sets @@ -265,7 +265,7 @@ the target for the processing instruction to <em>target</em> and the data to <em>data</em>. <p> <p>See also <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(), <a href="tqdomnode.html#insertBefore">TQDomNode::insertBefore</a>(), and <a href="tqdomnode.html#insertAfter">TQDomNode::insertAfter</a>(). -<h3 class=fn><a href="tqdomtext.html">TQDomText</a> <a name="createTextNode"></a>TQDomDocument::createTextNode ( const <a href="ntqstring.html">TQString</a> & value ) +<h3 class=fn><a href="tqdomtext.html">TQDomText</a> <a name="createTextNode"></a>TQDomDocument::createTextNode ( const <a href="tqstring.html">TQString</a> & value ) </h3> Creates a text node for the string <em>value</em> that can be inserted into the document tree, e.g. using <a href="tqdomnode.html#appendChild">TQDomNode::appendChild</a>(). @@ -287,7 +287,7 @@ Returns the document type of this document. </h3> Returns the root element of the document. -<h3 class=fn><a href="tqdomelement.html">TQDomElement</a> <a name="elementById"></a>TQDomDocument::elementById ( const <a href="ntqstring.html">TQString</a> & elementId ) +<h3 class=fn><a href="tqdomelement.html">TQDomElement</a> <a name="elementById"></a>TQDomDocument::elementById ( const <a href="tqstring.html">TQString</a> & elementId ) </h3> Returns the element whose ID is equal to <em>elementId</em>. If no element with the ID was found, this function returns a <a href="tqdomnode.html#isNull">null element</a>. @@ -295,7 +295,7 @@ element with the ID was found, this function returns a <a href="tqdomnode.html#i IDs, this function returns always a <a href="tqdomnode.html#isNull">null element</a>. This may change in a future version. -<h3 class=fn><a href="tqdomnodelist.html">TQDomNodeList</a> <a name="elementsByTagName"></a>TQDomDocument::elementsByTagName ( const <a href="ntqstring.html">TQString</a> & tagname ) const +<h3 class=fn><a href="tqdomnodelist.html">TQDomNodeList</a> <a name="elementsByTagName"></a>TQDomDocument::elementsByTagName ( const <a href="tqstring.html">TQString</a> & tagname ) const </h3> Returns a <a href="tqdomnodelist.html">TQDomNodeList</a>, that contains all the elements in the document with the name <em>tagname</em>. The order of the node list is @@ -303,7 +303,7 @@ the order they are encountered in a preorder traversal of the element tree. <p> <p>See also <a href="#elementsByTagNameNS">elementsByTagNameNS</a>() and <a href="tqdomelement.html#elementsByTagName">TQDomElement::elementsByTagName</a>(). -<h3 class=fn><a href="tqdomnodelist.html">TQDomNodeList</a> <a name="elementsByTagNameNS"></a>TQDomDocument::elementsByTagNameNS ( const <a href="ntqstring.html">TQString</a> & nsURI, const <a href="ntqstring.html">TQString</a> & localName ) +<h3 class=fn><a href="tqdomnodelist.html">TQDomNodeList</a> <a name="elementsByTagNameNS"></a>TQDomDocument::elementsByTagNameNS ( const <a href="tqstring.html">TQString</a> & nsURI, const <a href="tqstring.html">TQString</a> & localName ) </h3> Returns a <a href="tqdomnodelist.html">TQDomNodeList</a> that contains all the elements in the document with the local name <em>localName</em> and a namespace URI of @@ -389,7 +389,7 @@ Assigns <em>x</em> to this DOM document. will also change the other. If you want to make a <a href="shclass.html#deep-copy">deep copy</a>, use <a href="tqdomnode.html#cloneNode">cloneNode</a>(). -<h3 class=fn>bool <a name="setContent"></a>TQDomDocument::setContent ( const <a href="qbytearray.html">TQByteArray</a> & buffer, bool namespaceProcessing, <a href="ntqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +<h3 class=fn>bool <a name="setContent"></a>TQDomDocument::setContent ( const <a href="qbytearray.html">TQByteArray</a> & buffer, bool namespaceProcessing, <a href="tqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) </h3> This function parses the XML document from the byte array <em>buffer</em> and sets it as the content of the document. It tries to detect the encoding of the document as required by the XML @@ -408,29 +408,29 @@ returns a string for all elements and attributes. It returns an empty string if the element or attribute has no prefix. <p> If <em>namespaceProcessing</em> is FALSE, the functions TQDomNode::prefix(), <a href="tqdomnode.html#localName">TQDomNode::localName</a>() and -<a href="tqdomnode.html#namespaceURI">TQDomNode::namespaceURI</a>() return <a href="ntqstring.html#TQString-null">TQString::null</a>. -<p> <p>See also <a href="tqdomnode.html#namespaceURI">TQDomNode::namespaceURI</a>(), <a href="tqdomnode.html#localName">TQDomNode::localName</a>(), <a href="tqdomnode.html#prefix">TQDomNode::prefix</a>(), <a href="ntqstring.html#isNull">TQString::isNull</a>(), and <a href="ntqstring.html#isEmpty">TQString::isEmpty</a>(). +<a href="tqdomnode.html#namespaceURI">TQDomNode::namespaceURI</a>() return <a href="tqstring.html#TQString-null">TQString::null</a>. +<p> <p>See also <a href="tqdomnode.html#namespaceURI">TQDomNode::namespaceURI</a>(), <a href="tqdomnode.html#localName">TQDomNode::localName</a>(), <a href="tqdomnode.html#prefix">TQDomNode::prefix</a>(), <a href="tqstring.html#isNull">TQString::isNull</a>(), and <a href="tqstring.html#isEmpty">TQString::isEmpty</a>(). -<h3 class=fn>bool <a name="setContent-2"></a>TQDomDocument::setContent ( const <a href="ntqcstring.html">TQCString</a> & buffer, bool namespaceProcessing, <a href="ntqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +<h3 class=fn>bool <a name="setContent-2"></a>TQDomDocument::setContent ( const <a href="ntqcstring.html">TQCString</a> & buffer, bool namespaceProcessing, <a href="tqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function reads the XML document from the C string <em>buffer</em>. <p> <b>Warning:</b> This function does not try to detect the encoding: instead it assumes that the C string is UTF-8 encoded. -<h3 class=fn>bool <a name="setContent-3"></a>TQDomDocument::setContent ( const <a href="ntqstring.html">TQString</a> & text, bool namespaceProcessing, <a href="ntqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +<h3 class=fn>bool <a name="setContent-3"></a>TQDomDocument::setContent ( const <a href="tqstring.html">TQString</a> & text, bool namespaceProcessing, <a href="tqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function reads the XML document from the string <em>text</em>. Since <em>text</em> is already a Unicode string, no encoding detection is done. -<h3 class=fn>bool <a name="setContent-4"></a>TQDomDocument::setContent ( <a href="ntqiodevice.html">TQIODevice</a> * dev, bool namespaceProcessing, <a href="ntqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +<h3 class=fn>bool <a name="setContent-4"></a>TQDomDocument::setContent ( <a href="ntqiodevice.html">TQIODevice</a> * dev, bool namespaceProcessing, <a href="tqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function reads the XML document from the IO device <em>dev</em>. -<h3 class=fn>bool <a name="setContent-5"></a>TQDomDocument::setContent ( const <a href="ntqcstring.html">TQCString</a> & buffer, <a href="ntqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +<h3 class=fn>bool <a name="setContent-5"></a>TQDomDocument::setContent ( const <a href="ntqcstring.html">TQCString</a> & buffer, <a href="tqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function reads the XML document from the C string <em>buffer</em>. @@ -438,13 +438,13 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> <b>Warning:</b> This function does not try to detect the encoding: instead it assumes that the C string is UTF-8 encoded. -<h3 class=fn>bool <a name="setContent-6"></a>TQDomDocument::setContent ( const <a href="qbytearray.html">TQByteArray</a> & buffer, <a href="ntqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +<h3 class=fn>bool <a name="setContent-6"></a>TQDomDocument::setContent ( const <a href="qbytearray.html">TQByteArray</a> & buffer, <a href="tqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function reads the XML document from the byte array <em>buffer</em>. <p> No namespace processing is performed. -<h3 class=fn>bool <a name="setContent-7"></a>TQDomDocument::setContent ( const <a href="ntqstring.html">TQString</a> & text, <a href="ntqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +<h3 class=fn>bool <a name="setContent-7"></a>TQDomDocument::setContent ( const <a href="tqstring.html">TQString</a> & text, <a href="tqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function reads the XML document from the string <em>text</em>. @@ -452,13 +452,13 @@ Since <em>text</em> is already a Unicode string, no encoding detection is performed. <p> No namespace processing is performed either. -<h3 class=fn>bool <a name="setContent-8"></a>TQDomDocument::setContent ( <a href="ntqiodevice.html">TQIODevice</a> * dev, <a href="ntqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +<h3 class=fn>bool <a name="setContent-8"></a>TQDomDocument::setContent ( <a href="ntqiodevice.html">TQIODevice</a> * dev, <a href="tqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function reads the XML document from the IO device <em>dev</em>. <p> No namespace processing is performed. -<h3 class=fn>bool <a name="setContent-9"></a>TQDomDocument::setContent ( <a href="tqxmlinputsource.html">TQXmlInputSource</a> * source, <a href="tqxmlreader.html">TQXmlReader</a> * reader, <a href="ntqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) +<h3 class=fn>bool <a name="setContent-9"></a>TQDomDocument::setContent ( <a href="tqxmlinputsource.html">TQXmlInputSource</a> * source, <a href="tqxmlreader.html">TQXmlReader</a> * reader, <a href="tqstring.html">TQString</a> * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function reads the XML document from the <a href="tqxmlinputsource.html">TQXmlInputSource</a> <em>source</em> and @@ -480,12 +480,12 @@ This is an overloaded member function, provided for convenience. It behaves esse <p> This function uses <em>indent</em> as the amount of space to indent subelements. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQDomDocument::toString () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString"></a>TQDomDocument::toString () const </h3> Converts the parsed document back to its textual representation. <p> <p>See also <a href="#toCString">toCString</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString-2"></a>TQDomDocument::toString ( int indent ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString-2"></a>TQDomDocument::toString ( int indent ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This function uses <em>indent</em> as the amount of space to indent |