- From: Mikko Honkala <honkkis@tml.hut.fi>
- Date: Tue, 03 Dec 2002 16:36:14 +0200
- To: www-forms@w3.org
- CC: Roman Huditsch <roman.huditsch@hico.com>, Mark Seaborne <MSeaborne@origoservices.com>
To further clarify:
<xfm:bind nodeset="//@xlink:href[starts-with(., '#') = false]"
calculate="concat('#', .)"/>
does not mean that you run this calculation once per each node. It
means that you attach this calculation to be run _EVERY TIME_ the
dependent nodes change.
So you could try something along the lines of
<xfm:bind nodeset="//@xlink:href" calculate="if(starts-with(.,
'#'),.,concat('#', .))"/>
Note: the above probably has errors, I did not have a chance to try it.
-mikko
Received on Tuesday, 3 December 2002 09:31:59 UTC