Re: [xslt] Trouble with EXSLT 'function' element



"William M. Brack" wrote :

> drkm said:

> >     <xsl:stylesheet version="1.0"
> >                    
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> >                     xmlns:func="http://exslt.org/functions";
> >                     xmlns:my="..."
> >                     extension-element-prefixes="my">

> >       <func:function name="my:identity">
> >         <xsl:param name="attr"/>
> >         <func:result select="$attr"/>
> >       </func:function>

> > [...]

> >     ~> xsltproc --dumpextensions nil-bugreport.xsl nil.xml
> >     ...
> >     Registered Extension Elements:
> >     {http://exslt.org/common}document
> >     {http://exslt.org/functions}result
> >     {http://xmlsoft.org/XSLT/}test
> >     ...

> The extension-element-prefixes attribute on your stylesheet
> should include the prefix 'func', i.e.
> extension-element-prefixes="my func". 

  Ahem, yes.  Sorry for the disturbance.

> You might find it useful to look at some of the examples in
> the 'tests/exslt/functions' subdirectory of the libxslt
> distribution directory.

  Noted.

  Anyway, is it normal the 'func:function' element is not displayed by
the '--dumpextensions' option?

  Thanks,

--drkm



















	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]