[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: xmlns:local="#local-functions" with msxml4.0 and msxml6.0
From: "Houghton,Andrew" <houghtoa@xxxxxxxx>
Date: Tue, 12 Dec 2006 12:55:42 -0500
> From: dave heyer [mailto:dave_heyer@xxxxxxxxxxx]
> Sent: 12 December, 2006 12:28
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  xmlns:local="#local-functions" with msxml4.0
> and msxml6.0
>
> Hi, I have a code using msxml4.0 for transformation, the xsl
> code has a namespace definition of
>
>    xmlns:local = "#local-functions"
>
> which allows my xsl code to reference the prefix "local" in
> xsl code. It works fine with msxml4.0, but complains with msxml6.0.
>
> It seems that msxml6.0 does not support the feature of
> defining namespace in this way.

A namespace is a namespace.  You made up "#local-function" so make
up another one using a valid HTTP scheme, like:

"urn:local-function" or
"http://my.local.functions.net/" or
"mailto:dave_heyer@xxxxxxxxxxx";


Andy.

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member