[xslt] Passing parameters within <xsl:apply-templates>
- From: Vitaly Ostanin <vyt vzljot ru>
- To: xslt gnome org
- Subject: [xslt] Passing parameters within <xsl:apply-templates>
- Date: Sun, 17 Aug 2003 18:29:10 +0400
Hello, All!
I need to pass parameters within <xsl:apply-templates>. As far as
I understand, it's allowed by
http://www.w3.org/TR/xslt#section-Passing-Parameters-to-Templates
and not deprecated by XSLT errata:
http://www.w3.org/1999/11/REC-xslt-19991116-errata/
Attached test contains simple test for passing params but it not
works for me.
test.xsl output "@dir" value only once, but I expect it twice,
second from template
<xsl:template match="graphic" mode="images">
Should I fill bugreport or this is my mistake ?
$ xmllint --version
xmllint: using libxml version 20509
compiled with: FTP HTTP HTML C14N Catalog DocBook XPath
XPointer XInclude Iconv Unicode Regexps Automata Schemas
$ xsltproc --version Using libxml 20509, libxslt 10032 and
libexslt 721 xsltproc was compiled against libxml 20509, libxslt
10032 and libexslt 721 libxslt 10032 was compiled against libxml
20509 libexslt 721 was compiled against libxml 20509
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
passing-parameters.tar.bz2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]