Subject: RE: [xsl] xsl:function From: "Mac Martine" <email@xxxxxxxxxxxxxxxx> Date: Fri, 28 Mar 2003 12:22:51 -0800 |
Yup, very confused. So, here is the bare bones xsl that I am trying. I'm using the msxml 4.0 processor. There are no files located at http://magusdesigns.com/namespace. It's sounds like there don't need to be any file there, right? Thanks again, I'll understand this soon enough- Mac <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:my="http://magusdesigns.com/namespace" xmlns:func="http://exslt.org/functions" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <func:function name="my:test"> <func:result>1</func:result> </func:function> <xsl:template match="/"> <xsl:value-of select="my:test()" /> </xsl:template> </xsl:stylesheet> -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael Kay Sent: Friday, March 28, 2003 11:40 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] xsl:function > Hmmm. I tried that, and it says " Namespace > http:magusdesigns.com/namespace contains no functions" > Magusdesigns.com is a domain I own. > What now? Now you put some functions in the namespace... Seriously, what are you doing, with what XSLT processor, when you get this error message? You seem to be very confused. The XSLT processor doesn't care two hoots whether you own the domain name, this is simply good coding practice to make your function names unique. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx 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] xsl:function, Michael Kay | Thread | Re: [xsl] xsl:function, Jeni Tennison |
[xsl] ANN: XSLT transforms library, Jean-Marc Vanel | Date | [xsl] strange <br/> tag, Karl J. Stubsjoen |
Month |