On Wed, 2003-06-25 at 17:24, Michael Chamberlain wrote:
> >> Any ideas as to what is going on?
> >>
>
> I'd guess that your stylesheet isn't valid xml.
>
> Mike.
I thought of that, but when I test the same stylesheet by using an
on-disk version of the xml file the provider is generating and specify
the stylesheet either with the
AxAddProcessor text/xsl /xslt/user.xsl
or by adding the specification in via the xml header stylesheet
directive it works, without errors..
the stylesheet isn't changing, just not using the provider, which also
works by itself.. ie: I can browse to the provided file, as long as I
don't try to apply a stylesheet.
Attaching the stylesheet ..
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output
method = "html"
version = "1.0"
encoding = "utf-8"
omit-xml-declaration = "yes"
standalone = "yes"
doctype-public = "-//W3C//DTD HTML 4.01 Transitional//EN"
doctype-system = "http://www.w3.org/TR/REC-html40/loose.dtd"
cdata-section-elements = ""
indent = "yes"
media-type = "text/html" />
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="/page/title" /></title>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
</head>
<body
marginheight="0"
vlink="#003f7f"
topmargin="0"
leftmargin="0"
marginwidth="0"
bgcolor="#ffffff"
link="#003f7f"
>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="users">
<table border="0">
<xsl:apply-templates select="username"/>
<xsl:apply-templates select="firstname"/>
<xsl:apply-templates select="surname"/>
<xsl:apply-templates select="email"/>
</table>
</xsl:template>
<xsl:template match="users/password">
</xsl:template>
<xsl:template match="users/email">
<tr>
<th>
<xsl:value-of select="name()"/>
</th>
<td>
<a href="mailto:{.}">
<xsl:apply-templates/>
</a>
</td>
</tr>
</xsl:template>
<xsl:template match="users/*">
<tr>
<th>
<xsl:value-of select="name()"/>
</th>
<td>
<xsl:apply-templates/>
</td>
</tr>
</xsl:template>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]