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?
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?