xsl-list
[Top] [All Lists]

Re: [xsl] Creating List with xsl:function

2006-11-17 16:14:22
"Philip" == Philip Vallone <philip(_dot_)vallone(_at_)verizon(_dot_)net> 
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--