XML Guide-XML data Island

Source: Internet
Author: User
With IE5.0 or a later version, XML data can be embedded into HTML pages in the form of data Islands. Embed XML data in the HTML page. use the unofficial standard & lt; xml & gt; tag to embed XML data into the HTML page. With IE5.0 or a later version, XML data can be embedded into HTML pages in the form of data Islands.
Embed XML data in HTML pages
Use unofficial standard Tags can embed XML data into HTML pages.
XML data can be embedded into HTML pages as follows:

      
       
    
     Tove
        
    
     Jani
        
    
     Reminder
        Don't forget me this weekend!    
       
  


Or embed an external XML file as follows:

    
  


Note that Tag is an HTML element, not an XML element.



Data Binding
XML data Island can be bound to HTML elements (such as tables ).
In the following example, an XML data Island (ID = cdcat) is loaded from an external XML document. An HTML table is bound to this data Island. The span elements in an HTML table are bound to each other using the Dataworks attribute and the XML elements corresponding to the XML document.

      
     
  
 

The above is the content of XML data Island, the XML Guide. For more information, see PHP Chinese website (www.php1.cn )!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.