[xslt] Xpath commands inside attributes



Hello,
I am trying to do something like this in XSL stylesheet:

<a href="{count(.)}"></a>
<a href="{$var}"></a>

using variables works under Mozilla Firefox processor, but do not work
under PHP XSLT Processor that is based in xmlsoft.org.


Anyone know if this syntax should work?

-- 
Publicidad http://www.pas-world.com



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