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

Subject: Re: [xsl] new: how to change value of attributes
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 27 Nov 2009 18:43:55 +0100
ivanmacculi@xxxxxxxxx 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/

Current Thread