xml help please

wxdqz

New Member
The first thing I need to say is I know almost nothing about xml.
so what follows may come accross as very naive - but I have to start somewhere

But - just for a bit of a learning exercise
I thought I would have a go at serving one of my web pages as xml instead of html.

this page is the original xhtml (<!-- m --><a class="postlink" href="http://www.telfordsteamrailway.co.uk/index.shtml">http://www.telfordsteamrailway.co.uk/index.shtml</a><!-- m -->)

I played around with it a bit (changed file suffix from ,shtml to .xml, added first line), passed it through W3C validator a couple of times until it passed.
and the result is
this page in xml (<!-- m --><a class="postlink" href="http://www.telfordsteamrailway.co.uk/test.xml">http://www.telfordsteamrailway.co.uk/test.xml</a><!-- m -->)
of course using IE to view it is pintless - so i used Firefox

i checked the http header and it i served as application/xml.

Now to my questions

1. The first link to style sheet tsrlayout.css seems to be obeyed but the second does not -do I need to change the <link instruction to the form
<?xml-stylesheet href=http://www.webdeveloper.com/forum/archive/index.php/"xml-sheet.css" type="text/css" ?> and if so - why does the first one seem to work, or is xml css very different to html css

2. The original uses as ssi include - how do i do that in xml/
 
Back
Top