Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: newbie: include xml content in html

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 11/2/2005 5:37:00 PM
Rui Maciel wrote:

> After my attempt at creating a personal site, I started wondering if it was
> possible to store a certain type of content (lists and small data tables
> for example) in a XML file and use the information stored in the XML file
> in the content of the XML file.

You can try that but storing data might be better done with a data base. 
At least if the data needs to be updated often and by several users of 
the web site.
The main issue to decide is whether to use server-side or client-side 
programming to extract data from XML and transform it to HTML to be 
included in the HTML documents a browser of a visitor to your web site 
displays. Not everyone has server-side programming (e.g. PHP or ASP or 
JSP or Perl CGI) with his hosting but that is the only way to ensure any 
visitor gets the proper content and not only one visiting with a browser 
supporting e.g. JavaScript and/or XML and/or client-side XSLT.

HTML documents allow you to include lists (e.g. <ul> or <ol> with <li> 
items) and tabular data (e.g. <table>, <thead>, <tbody>, <tr>, <th>, 
<td>) thus XML is not needed to have that in an HTML document the 
visitors of your web site see.

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent