|
Home > Archive > MS SQL XML > October 2006 > Pointer to List of Namespaces for MSXML 4.0?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Pointer to List of Namespaces for MSXML 4.0?
|
|
| JimLad 2006-10-24, 6:49 pm |
| Hi,
Can anyone provide or point to a list of supported namespaces (and
standards) in MSXML 4.0. Having enormous trouble finding a simple list
of supported namespaces. For instance, it's taken me a hell of a long
time to work out that the reason position() isn't working is that the
page is currently referencing "http://www.w3.org/TR/WD-xsl" instead of
"http://www.w3.org/1999/XSL/Transform".
Incidiently, does the W3C have a page that lists current (and
superseded) namespaces. It would be very helpful!!
Cheers,
James
| |
| Joe Fawcett 2006-10-24, 6:49 pm |
| Versions 3 and below support the two you mentioned for transforms and only
those (other versions might I'm not sure). The WD-xsl is obsolete and
shouldn't be used for transforms.
Even XSLT 2.0 uses the http://www.w3.org/1999/XSL/Transform namespace,
although Microsoft doesn't support version 2.0.
--
Joe Fawcett - XML MVP
http://joe.fawcett.name
"JimLad" <jamesdbirch@yahoo.co.uk> wrote in message
news:1161256895.279470.189640@m7g2000cwm.googlegroups.com...
> Hi,
>
> Can anyone provide or point to a list of supported namespaces (and
> standards) in MSXML 4.0. Having enormous trouble finding a simple list
> of supported namespaces. For instance, it's taken me a hell of a long
> time to work out that the reason position() isn't working is that the
> page is currently referencing "http://www.w3.org/TR/WD-xsl" instead of
> "
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
>
<xsl:param name="person" />
<xsl:template match="/">
<html>
<head>
<title>Finding an age using an XSLT parameter</title>
</head>
<body>
<xsl:apply-templates select="/Ages/Person[@name=$person]" />
</body>
</html>
</xsl:template>
<xsl:template match="Person">
<p>The age of <xsl:value-of select="$person" /> is <xsl:value-of
select="@age"/> </p>
</xsl:template>
</xsl:stylesheet>".
>
> Incidiently, does the W3C have a page that lists current (and
> superseded) namespaces. It would be very helpful!!
>
> Cheers,
>
> James
>
|
|
|
|
|