HTML CSS Reference/HTML Tag Reference/xml

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

"xml" CSS Attributes and JavaScript Style Properties

   <source lang="html4strict">

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

     </source>
   
  


"xml" Event Handlers

   <source lang="html4strict">

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

     </source>
   
  


"xml" Example

   <source lang="html4strict">
   

<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>


     </source>
   
  


"xml" HTML Attributes

   <source lang="html4strict">

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

     </source>
   
  


"xml" JavaScript Collections

   <source lang="html4strict">

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

     </source>
   
  


"xml" JavaScript Methods

   <source lang="html4strict">

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

     </source>
   
  


"xml" JavaScript Properties

   <source lang="html4strict">

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

     </source>
   
  


"xml" Microsoft Behaviors

   <source lang="html4strict">

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

     </source>
   
  


"xml" Syntax and Note

   <source lang="html4strict">

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>


     </source>