F
Frank Stallone
I'm working on a basic css/html/xml template for my websites. I have
as much design stuff as I can put into the CSS file.
I want all my data in the xml file so my html file is, for the most
part, pulling the data from the CSS and XML file to create a page.
I'm very new to XML and google hasn't really turned up anything
useful.
Ideally what I want to do is have the code in the html to link a
datafield in the xml file - like this
<span datasrc="#xmltext" datafld="article"></span>
Then in my xml file I would want something like
<file>
<article>
blajhfierewr e9rue 9fjfidsfjdsifs <a
href="http://www.fake.com">fake</a> blah blah blah <img
src="http://www.picture.com/wang.jpg" /> blkjfriue-r blah blah, etc,
etc
</article>
Is this even possible? If a use for XML is to keep data seperate from
the html then surely there has to be a way to include links to sites
and images as most written articles have them.
Thanks in advance.
as much design stuff as I can put into the CSS file.
I want all my data in the xml file so my html file is, for the most
part, pulling the data from the CSS and XML file to create a page.
I'm very new to XML and google hasn't really turned up anything
useful.
Ideally what I want to do is have the code in the html to link a
datafield in the xml file - like this
<span datasrc="#xmltext" datafld="article"></span>
Then in my xml file I would want something like
<file>
<article>
blajhfierewr e9rue 9fjfidsfjdsifs <a
href="http://www.fake.com">fake</a> blah blah blah <img
src="http://www.picture.com/wang.jpg" /> blkjfriue-r blah blah, etc,
etc
</article>
Is this even possible? If a use for XML is to keep data seperate from
the html then surely there has to be a way to include links to sites
and images as most written articles have them.
Thanks in advance.