- From: Roman Huditsch <roman.huditsch@hico.com>
- Date: Tue, 3 Dec 2002 15:52:33 +0100
- To: "Mark Seaborne" <MSeaborne@origoservices.com>, "Mikko Honkala" <honkkis@tml.hut.fi>, <www-forms@w3.org>
Thanks for the help. Although I didn't test it already. It seams as it was just what I needed.
Thanks a lot.
wbr,
Roman
-----Ursprüngliche Nachricht-----
Von: Mark Seaborne [mailto:MSeaborne@origoservices.com]
Gesendet: Dienstag, 3. Dezember 2002 15:49
An: Mikko Honkala; www-forms@w3.org
Cc: Roman Huditsch
Betreff: RE: AW: concatenating user input and special characters
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:53:12 UTC