xsl-list
[Top] [All Lists]

Re: [xsl] new: how to change value of attributes

2009-11-27 12:44:27
ivanmacculi(_at_)libero(_dot_)it wrote:
thank you Martin but but when you wrote
To define your own functions you are free to choose a >namespace but you need 
to choose one.

i don't know how to declare my own functions.

Well Michael posted a function definition, you can simply use that, all you need to do is declare the prefix 'f' used in the qualified function name e.g.

<xsl:stylesheet
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  xmlns:xs="http://www.w3.org/2001/XMLSchema";
  xmlns:f="http://example.com/f";
  exclude-result-prefixes="f"
  version="2.0">

...

</xsl:stylesheet>


--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>