Subject: Re: Creating List with xsl:function
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 17 Nov 2006 23:14:06 +0000
|
>>>>> "Philip" == Philip Vallone <philip.vallone@xxxxxxxxxxx> writes:
Philip> I assume I am not declaring the Function properly. Can the
Philip> XSL:Function be placed anywhere in the stylesheet as long
Philip> as it is a child of </xsl:stylesheet>? Do I need to
Yes.
Philip> declare a namespace for a function? And if so how? I am a
Philip> little lost.
Absolutely.
You create a binding for a prefix to a namespace with an
xmlns:my-prefix="my-namespace"
delcaration.
The you name your function as name="my-prefix:function-name".
--
Colin Adams
Preston Lancashire
|