advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Partners & Affiliates
advertisement
advertisement
Tip of the Day
Rate this item | 0 users have rated this item.
Expertise: All
Language: Web
April 14, 2000
Embedding XML Data Islands in HTML
There are two ways to embed a data island into an HTML document. The first is inline, where the XML data structure is surrounded by the <XML></XML> tags.
 
<XML ID="MyXmlId"> 
<EmployeeDetails> 
  <EmployeeID>3345</EmployeeID> 
  <Name>Deepak Pant</Name> 
  <Location>Boston</Location> 
</EmployeeDetails> 
</XML> 
The second way to embed a data island is to specify an external XML file using the <XML> tag's SRC attribute. That syntax looks like this:
 
<XML ID="MyXmlId" SRC="EmployeeDetails.xml"></XML> 
You need to specify <XML> tag's ID attribute so that the XML data island can be accessed to from a scripting language.
Deepak Pant
If you have a hot tip and we publish it, we'll pay you. However, due to accounting overhead we no longer pay $10 for a single tip submission. You must accumulate 10 acceptable tips to receive payment. Be sure to include a clear explanation of what the technique does and why it's useful. If it includes code, limit it to 20 lines if possible. Submit your tip here.
Please rate this item (5=best)
 1  2  3  4  5
advertisement
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs