xsl-list
[Top] [All Lists]

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

2006-12-12 11:41:30
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(_at_)oclc(_dot_)org>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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(_at_)hotmail(_dot_)com]
> Sent: 12 December, 2006 12:28
> To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
> 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(_at_)hotmail(_dot_)com"


Andy.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


_________________________________________________________________
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--