El_Charlie
(El Charlie)
1
Hello:
I’m trying to get the value of a node that has a namespace prefix, something like:
<set property="mytimestamp" value="{/root/ts:SAGTimeStamp/ts:TimeStampValue/@time}" xbd.zid="N400004"/>
When I evaluate the “mytimestamp” property, it has a void value. I think that this is caused by the “ts” namespace prefix.
How can I get the value?
Thanks.
El_Charlie
(El Charlie)
2
I’ve found the solution in another post:
I have to declare the namespace in the “set” node :
<set xmlns:ts="http://namespaces.softwareag.com/basetech/TimestampSchemaDefinition" property="mytimestamp" value="{/root/ts:SAGTimeStamp/ts:TimeStampValue/@time}" xbd.zid="N400004"/>