This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: question about implements-prefix


It absolutely matters what you put there.  This is really an XML namespaces
question, and while there are plenty of helpful people here who will no
doubt help you with this topic, you might have better luck looking into
namespaces in a good book or online resource. 

For a short example: Take the XSL namespace URI -
http://www.w3.org/1999/XSL/Transform

Change this to something else, and your XSL processor won't recognize the
meaning of your <xsl:something> elements in you stylesheet. Why not?  The
answer to this is the answer to your question. 

Don

 

-----Original Message-----
From: Todd Binder [mailto:todd_binder@hotmail.com]
Sent: Thursday, December 06, 2001 12:57 PM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] question about implements-prefix


so does the value following XMLNS:USER have any actual meaning?  or could it
just as easily type the following?

xmlns:user="anytinfoiwanttotypehere"

i understand how the USER namespace directs the XSL to the correct spot,
what i am still confused on is whether the value you specify (be it a valid
email address, valid URL or just a text string) has any meaning?

- todd

Todd Binder
todd_binder@hotmail.com

----- Original Message -----
From: "David Carlisle" <davidc@nag.co.uk>
To: <xsl-list@lists.mulberrytech.com>
Sent: Thursday, December 06, 2001 11:50 AM
Subject: Re: [xsl] question about implements-prefix


>
> > what purpose does the USER serve in the below code?
>
> extension functions have to be in some namespace.
>
>   <xsl:value-of select="formatArg(date)"/>
>
> would call the built in function formatArg, which doesn't exist
> and so would be an error.
>
> That part is specified in Xpath. What isn't specified there is how
> functions in an extension namespace get implemented.
> In msxsl it's using the code you showed.
>
> David
>
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet
> delivered through the MessageLabs Virus Scanning Service. For further
> information visit http://www.star.net.uk/stats.asp or alternatively call
> Star Internet for details on the Virus Scanning Service.
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]