Click to See Complete Forum and Search --> : Implement/display xml files


arhhaw
03-04-2004, 10:40 AM
I can display HTML files, but I can not display my XML files, can you explain why I only see the elements and roots

Khalid Ali
03-04-2004, 10:40 PM
If I understand you correctly,that means that you think XML is something like HTML and it would be displayed as such in browser.
However, its not the case.XML is a structure that defines how things may look aor act.
You will have create your layout using xsl/CSS to view xml file.

Ben Rogers
03-05-2004, 05:29 PM
Out of curiosity: Which is better supported XSL or CSS? I already know CSS but am willing to learn XSL if its better suited to the job.

Khalid Ali
03-05-2004, 08:50 PM
as far as browser market is concern,CSS is way better supported,
But for processing XML files on the server side SAX or DOM parsers will be the best choice

Ben Rogers
03-05-2004, 09:11 PM
I have no idea what either of those are.. so I think I'll stick to CSS. Nevermind&Thanks.