[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl:function

Subject: RE: xsl:function
From: "Mac Martine" <email@xxxxxxxxxxxxxxxx>
Date: Fri, 28 Mar 2003 12:22:51 -0800
xsl function
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: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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.