HTML CSS Reference/HTML Tag Reference/xml

Материал из Web эксперт
Перейти к: навигация, поиск

"xml" CSS Attributes and JavaScript Style Properties

+----------------+--------------------------------------------------------------+
| CSS            |behavior                        text-autospace                |
| Attributes     |text-underline-position                                       |
+----------------+--------------------------------------------------------------+



"xml" Event Handlers

+----------------+--------------------------------------------------------------+
| Event          |onDataAvailable                 onDatasetChanged              |
| Handlers       |onDatasetComplete               onReadyStateChange            |
|                |onRowEnter                      onRowExit                     |
|                |onRowsDelete                    onRowsInserted                |
+----------------+--------------------------------------------------------------+



"xml" Example

    
<html>
    <xml id="myOwnData">
        <myData>
            <firstname>Joe</firstname>
            <lastname>Yin</lastname>
            <age>12</age>
        </myData>
    </xml>
    <script>
    if (myOwnData.readyState == "complete")
       window.alert ("The XML document is ready.");
    var oNode = myOwnData.XMLDocument.selectSingleNode("myData/firstname");
    alert(oNode.text);
    </script>
</html>



"xml" HTML Attributes

+----------------+--------------------------------------------------------------+
| HTML           |id                              src                           |
+----------------+--------------------------------------------------------------+



"xml" JavaScript Collections

+----------------+--------------------------------------------------------------+
| JavaScript     |behaviorUrns                                                  |
+----------------+--------------------------------------------------------------+



"xml" JavaScript Methods

+----------------+--------------------------------------------------------------+
| JavaScript     |addBehavior                     componentFromPoint            |
| Methods        |fireEvent                       getAttributeNode              |
|                |namedRecordset                  normalize                     |
|                |removeAttributeNode             removeBehavior                |
|                |setAttributeNode                                              |
+----------------+--------------------------------------------------------------+



"xml" JavaScript Properties

+----------------+--------------------------------------------------------------+
| JavaScript     |canHaveHTML                     id                            |
| Properties     |isContentEditable               isDisabled                    |
|                |isMultiLine                     parentElement                 |
|                |readyState                      recordset                     |
|                |scopeName                       src                           |
|                |tagUrn                          XMLdocument                   |
+----------------+--------------------------------------------------------------+



"xml" Microsoft Behaviors

+----------------+--------------------------------------------------------------+
| Microsoft      |clientCaps                      download                      |
| Behaviors      |homePage                                                      |
+----------------+--------------------------------------------------------------+



"xml" Syntax and Note

Note:
This element defines an XML dataset inside the page. 
Text contained in this element is not rendered. 
It is useful for storing information in the page source code.
    
Syntax:
    
<xml attributes events> . . . </xml>