Subject: RE: [xsl] question about implements-prefix From: Don Bruey <dbruey@xxxxxxxxxxxxxxxxxxxxx> Date: Thu, 6 Dec 2001 13:07:55 -0500 |
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@xxxxxxxxxxx] Sent: Thursday, December 06, 2001 12:57 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxx ----- Original Message ----- From: "David Carlisle" <davidc@xxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] question about implements, Todd Binder | Thread | Re: [xsl] question about implements, David Carlisle |
RE: [xsl] Prining Hex04 character u, Avula, Raj | Date | Re: [xsl] question about implements, David Carlisle |
Month |