Hi everyone, I have a problem trying to replace the attribute value. For example, using factbook.xml: replace value of node attribute /mondial/country[@name='Austria']/@car_code with 'B' fails with: [XUDY0027] Replace target must not be empty. How should I be doing this? Thanks Tom
Hi Thomas, just remove the 'attribute' token from your statement, as it is not necessary ... *replace value of node /mondial/country[@name='Austria']/@car_code with 'B'* Cheers, Lukas On Tue, Nov 12, 2013 at 5:13 PM, Thomas Knight <tom1vuu2011@gmail.com>wrote:
Hi everyone,
I have a problem trying to replace the attribute value.
For example, using factbook.xml:
replace value of node attribute /mondial/country[@name='Austria']/@car_code with 'B'
fails with:
[XUDY0027] Replace target must not be empty.
How should I be doing this?
Thanks
Tom
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
participants (2)
-
Lukas Kircher -
Thomas Knight