Switch Variables in XML Location Path
Posted: Mon Mar 26, 2018 12:06 pm
Hi all,
I must have a variable in my XML location Path, is it possible ?
When i test it with '6' all is ok and it work like i want, but if this value is in variable, it have an error.
This work :
[Metadata.Text:Path="/contexture/publication/parution/cahier/pages/page[@folio='6']/@verrou",Dataset="SYELA-XML",Model="XML"]
https://www.dropbox.com/s/sgwijeqzh1pq9 ... 6.png?dl=0
Here i just remplaced the value '6' by my variable '[Job.PrivateData:Key="FOLIO"]' and This don't work :
[Metadata.Text:Path="/contexture/publication/parution/cahier/pages/page[@folio='[Job.PrivateData:Key="FOLIO"]']/@verrou",Dataset="SYELA-XML",Model="XML"]
https://www.dropbox.com/s/gnfqyggd9297d ... 1.png?dl=0
Any idea please ???? thanks.
I must have a variable in my XML location Path, is it possible ?
When i test it with '6' all is ok and it work like i want, but if this value is in variable, it have an error.
This work :
[Metadata.Text:Path="/contexture/publication/parution/cahier/pages/page[@folio='6']/@verrou",Dataset="SYELA-XML",Model="XML"]
https://www.dropbox.com/s/sgwijeqzh1pq9 ... 6.png?dl=0
Here i just remplaced the value '6' by my variable '[Job.PrivateData:Key="FOLIO"]' and This don't work :
[Metadata.Text:Path="/contexture/publication/parution/cahier/pages/page[@folio='[Job.PrivateData:Key="FOLIO"]']/@verrou",Dataset="SYELA-XML",Model="XML"]
https://www.dropbox.com/s/gnfqyggd9297d ... 1.png?dl=0
Any idea please ???? thanks.