Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
|
I think that XML really deals with databases
|
Not necessarily. Xml represent datas, as you said.
But you can associate it with an XSL stylesheet, that will allow to parse the XML via XPATH query, and transform it in something else.
try to look at this link source, its xml + xsl:
[ http://www.w3schools.com/xsl/cdcatalog_with_xsl.xml ]
It can be XHTML, HTML, RTF, PDF....
[ http://www.w3schools.com/xsl/ ]
[ http://xmlgraphics.apache.org/fop/ ]
At my work, we are using aan Oracle DB, that outputs XML to the browsers, and is associated with xsl stylesheet to create html.
It works well, on recent browser, don't need an server-side language, but has it's restrictions.
The biggest being that Safari have no xslt engine, which means it cannot format xml with xsl...
__________________
Only a biker knows why a dog sticks his head out the window.
|