You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi,
I have some input like :-
<StartPrecal dayOfYear="15">2009-01-15T14:10:00.000</StartPrecal>
<EndPostcal dayOfYear="15">2009-01-15T23:10:00.000</EndPostcal>
When I use the xml input wizard ( see image ) I get output of 'dayOfYear' = '15', What I actually need is '2009-01-15T14:10:00.000'.
The dayOfYear number changes, i.e for 2009-01-16 the dayOfYear would be 16.
How can I fix the parsing to work or how can I extract the whole field to parse out the date/time later?
Bye for now,l
Offline
Hello
<StartPrecal dayOfYear="15">2009-01-15T14:10:00.000</StartPrecal>
StartPrecal is a element node and dayOfYear is a attribute node. 2009-01-15T14:10:00.000 is the value of StartPrecal element, 15 is the value of dayOfYear attribute. To get '2009-01-15T14:10:00.000', you should set StartPrecal as relative xpath.
Best regards
shong
Offline
Pages: 1