- From: Mark Seaborne <MSeaborne@origoservices.com>
- Date: Tue, 3 Dec 2002 14:48:56 -0000
- To: "Mikko Honkala" <honkkis@tml.hut.fi>, <www-forms@w3.org>
- Cc: "Roman Huditsch" <roman.huditsch@hico.com>
Mikko
Thanks for putting me straight. I just tried it, and it does work fine. Whether or not is any use to Roman is another matter.
I need to read the CR more carefully, even though I am an end user :)
All the best
Mark
> -----Original Message-----
> From: Mikko Honkala [mailto:honkkis@tml.hut.fi]
> Sent: 03 December 2002 14:36
> To: www-forms@w3.org
> Cc: Roman Huditsch; Mark Seaborne
> Subject: Re: AW: concatenating user input and special characters
>
>
> 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:49:05 UTC