English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Ok as far as I know everything should work fine but it doesn't

Here is the xml code to the file:



Welcome to
Karen and Matt's Webpage
Have you ever heard a song on the radio and thought,

"Wow that describes us exactly!"


We are on a Rocky Mountain High
we want to share with you
the music that is special to us


I can view the XML file in a webrower with no problems and I tested the code in a syntax checker and no errors. However when I try to insert the data elements into a table in an HTML file, all I get is a blank page.

HTML code:


karenandmatt






























2007-11-20 00:11:33 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

The xml element for HTML is entirely non-standard and very very badly supported.

If you want to generate a data table using an XML source then you are better off using some server side technology that outputs regular HTML.

Failing that, consider the YUI Data Table widget, which can use an external XML file as its data source.

http://developer.yahoo.com/yui/datatable/

Note, however, that this approach doesn't have a non-JS fallback. So you can say goodbye to support from a lot of clients (including Opera Mini and GoogleBot) (this is still better then the support for the non-standard xml element). Server side is better as it only requires the client to support basic HTML.

2007-11-20 00:20:32 · answer #1 · answered by David D 7 · 1 0

Change this line

to


Then change

to


It should now work.

2007-11-20 08:49:46 · answer #2 · answered by AnalProgrammer 7 · 1 1

fedest.com, questions and answers