Using XML in HTML page

In most the websites the actual content is got from an xml file or from a database instead of hard coding the content. This helps the organization to employ different people for different purposes.

_______________________________________________


_______________________________________________

The content developers can concentrate on providing the content and the designers would concentrate on the design of the web page alone. This improves the overall productivity.

So it is better to separate the content from the design. For small websites you can have the content in an xml file instead of a database.

Once you have the content in the xml file, it is easy to embed it in the html file to display the web page with the content. They are many ways to do this. One of the easiest ways is to embed the xml file in the html with an <xml> tag and use the 'src' attribute to identify the source of the xml file and give an 'id' for this tag.

Then you can use this source id in the <span> in which you need to display the content. Use the attribute 'datafld' to identify the nodes in the xml that needs to be displayed.

What to expect from HTML 5 (InfoWorld via Yahoo! News)
Among Web developers, anticipation is mounting for HTML 5, the overhaul of the Web markup language currently under way at the Worldwide Web Consortium (W3C). For many, the revamping is long overdue. HTML hasn't had a proper upgrade in more than a decade. In fact, the last markup language to win W3C Recommendation status -- the final stage of the Web standards process -- was XHTML 1.1 in 2001.

SpringSource Springs Enterprise Tomcat Server (InformationWeek)
VMware's SpringSource unit launches an enterprise version of the Apache Tomcat server used to run Java apps on the Web.

Beta Systems' New Agility Products Connect Data Centers with Decentralized Architectures (Business Wire via Yahoo! Finance)
BERLIN----Beta Systems Software AG announced today that its new generation of Agility products opens up z/OS-based infrastructure software for use by applications and staff in all areas of corporate IT.



FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________

Recommended XML Books

cover
cover
cover
cover
cover
cover






 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!


New XML Books Titles - Best Seller's @ Amazon.com

Visit XML Training Material Guide Homepage

Technology helps engage students - how do classroom instruction and social dynamics change when the classroom is completely dependant on modern technology?

Cisco CCNA Certification Video Tutorial Guide - Learn How to Pass the Cisco CCNA 640-802 Exam... Guaranteed!

Train Signal Computer Training