RE: [xsl] xmlns:local="#local-functions" with msxml4.0 and msxml6.0

Subject: RE: [xsl] xmlns:local="#local-functions" with msxml4.0 and msxml6.0
From: "dave heyer" <dave_heyer@xxxxxxxxxxx>
Date: Tue, 12 Dec 2006 13:41:04 -0500
Andrew, thanks a lot for your suggestions.

I tried to use

xmlns:local"urn:local-functions"

and saw the error in my log

Namespace 'urn:local-functions' does not contain any functions

dave

From: "Houghton,Andrew" <houghtoa@xxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [xsl] xmlns:local="#local-functions" with msxml4.0 and msxml6.0
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: [xsl] 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.



_________________________________________________________________
Share your latest news with your friends with the Windows Live Spaces friends module. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk


Current Thread