XML to HTML - possible?

Peter Morris

Usenet Archive
Joined
Mar 10, 2003
Messages
111
Reaction score
0
Newbie-ish question:

I've done a little programming with XML. I can use a cascading style sheet to specify text format, such things as font, size and style. But I want something a bit more complex than this.

For example, I want to put a title bar at the top of each page in my website. Rather than specify the HTML in every page, I'd like each page to include a piece of XML like this :
<XML ID=TOP>
<PAGE_TITLE> Welcome</PAGE_TITLE>
</XML>
Then use a stylesheet to specify the HTML for this.

A bit more complex: I'd like to read rows from a database table, returning them as XML, then use a stylesheet to put them in an HTML table.

Is this even possible?
Any web pages with guides to doing this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,224
Members
248,132
Latest member
henrywalsh

Latest Threads

Top