# HG changeset patch # User paulb # Date 1103657038 0 # Node ID ec7944c573328e65838bdca2b4c143d149e0aff1 # Parent 91b1fcfbd22075549c4e87f60d5c81c3d8114bfb [project @ 2004-12-21 19:23:58 by paulb] Introduced a new extension function, "field-name", which works correctly with elements transformed from attributes (eg. those which can have a range of values) as well as with normal attribute references. (See the "category" field names for an illustration of "field-name".) diff -r 91b1fcfbd220 -r ec7944c57332 examples/Common/PEP241/Resources/pep241_template.xhtml --- a/examples/Common/PEP241/Resources/pep241_template.xhtml Tue Dec 21 19:23:16 2004 +0000 +++ b/examples/Common/PEP241/Resources/pep241_template.xhtml Tue Dec 21 19:23:58 2004 +0000 @@ -23,12 +23,12 @@ Package name + name="{template:field-name()}" value="{$this-value}" /> Package version + name="{template:field-name()}" value="{$this-value}" /> Summary @@ -59,7 +59,7 @@ Discriminator - @@ -79,7 +79,7 @@ Platform name - + @@ -94,7 +94,7 @@ Platform name - + @@ -111,7 +111,7 @@ Keyword - + @@ -128,17 +128,17 @@ Author name - + Author contact - + Author e-mail - + @@ -155,13 +155,13 @@ Package name - + Package version - +