XML Guide-View XML files

Source: Internet
Author: User
The original XML file can be viewed using IE5.0 (or a later version) or Netscape6. However, if you want to display the XML file as a web page, you must add additional display information. You can use IE 5.0 (or a later version) or Netscape 6 to view the original XML file. However, if you want to display the XML file as a web page, you must add additional display information.



View XML files
We can use IE5.0 (or a later version) to browse XML documents. You can click a hyperlink, enter a URL in the address bar of the browser, or double-click the XML document in the folder. If you use IE to open the XML document and find that the browser uses the root element and child element of the XML document with a color, there is a "+" number on the left of the XML element, click "+" to expand the next level structure of the element. if there is a "-" number on the left of the element, you can also click the "-" number, collect the next level structure of this element. if you want to view the source file of the XML document, you can right-click the source file and choose View source file ".
We can also use Netscape 6 to open the XML document, or right-click and select "View Source File". when you open the XML document with Netscape 6, the browser displays the root element and child element with color code.

   - 
   - 
 
   - 
     
   
    Belgian Waffles
       
   
    $5.95
       
   
    two of our famous Belgian Waffles with plenty of real maple syrup
       
   
    650
       
   - 
     
   
    Strawberry Belgian Waffles
       
   
    $7.95
       
   
    light Belgian waffles covered with strawberries and whipped cream
       
   
    900
       
   - 
     
   
    Berry-Berry Belgian Waffles
       
   
    $8.95
       
   
    light Belgian waffles covered with an assortment of fresh berries and whipped cream
       
   
    900
       
   - 
     
   
    French Toast
       
   
    $4.50
       
   
    thick slices made from our homemade sourdough bread
       
   
    600
       
   - 
     
   
    Homestyle Breakfast
       
   
    $6.95
       
   
    two eggs, bacon or sausage, toast, and our ever-popular hash browns
       
   
    950
       
     
 

Why is XML displayed in the browser?
A simple XML document does not contain information about how to display data.
Since XML tags are created and invented by the authors of XML documents, we cannot know



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

Indicates whether a table in HTML is a wooden table.Without any additional information, ie usually displays XML data in a tree view.In the following Pass section, we will describe some solutions to XML document display problems, including CSS, XSL, JavaScript, and XML data Islands.

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.