Berin Loritsch <[EMAIL PROTECTED]> wrote:
> <html>
> <head>
> <title><template:title/></title>
etc...
Note that this is not valid XML, as the template namespace is not declared.
So I wonder if this is not a bit over simplified?
Here is a valid XSLT stylesheet:
<html xmlns:template="http://www.w3.org/1999/XSL/Transform"
template:version="1.0">
<head>
<title><template:value-of select="title"/></title>
</head>
<body>
<h1><template:value-of select="title"/></h1>
<table>
<tr>
<td><template:value-of select="menu"/></td>
<td><template:value-of select="body"/></td>
</tr>
</table>
<body>
</html>
I don't think this is much more complicated than your example, and it
scales to the complexity that you need. I don't see the point of inventing
yet another template language.
-scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]