Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~860 People Reached
Favorite Forums
Favorite Tags
xml x 10
Member Avatar for lokesh.r.kandula

Hi, My xml has got several tags with same name. I am trying to pick out only top 5 tags. I initially thought this would be simple and tried, but after spending so much time I couldn't get the desired output. Any help would be greatly appreciated. The scenario is …

Member Avatar for Mike Askew
0
165
Member Avatar for lokesh.r.kandula

Hi, I have some requirement which is explained below. The input XML is something like: <item> <body> <blocks> <block> <userDefinedFields> <userDefinedField> <fieldLabel>KOBAR</fieldLabel> <fieldDisplayLabel>Global KO</fieldDisplayLabel> <fieldValue>0</fieldValue> <fieldType>numeric</fieldType> </userDefinedField> <userDefinedField> <fieldLabel>KIBAR</fieldLabel> <fieldDisplayLabel>Global KI</fieldDisplayLabel> <fieldValue>50</fieldValue> <fieldType>numeric</fieldType> </userDefinedField> <userDefinedField> <fieldLabel>BSWP</fieldLabel> <fieldDisplayLabel>Global SW</fieldDisplayLabel> <fieldValue>1</fieldValue> <fieldType>integer</fieldType> </userDefinedField> </userDefinedFields> <otherFields> <otherField/> </otherFields> <userDefinedFields> <userDefinedField> <fieldLabel>EXCLN</fieldLabel> <fieldDisplayLabel>Exclude N</fieldDisplayLabel> …

Member Avatar for lokesh.r.kandula
0
157
Member Avatar for lokesh.r.kandula

Hi Buddy, I have a requirement which is explained as below: 1. My input xml file is as shown: <input> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>14.74</observedRate> <observationWeight>1</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>10.28</observedRate> <observationWeight>2</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>27.96</observedRate> <observationWeight>3</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>4.94</observedRate> <observationWeight>4</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110225</observationDate> <observedRate>14.18</observedRate> <observationWeight>1</observationWeight> <observationType>fixing</observationType> </historicalObservation> …

Member Avatar for lokesh.r.kandula
0
363
Member Avatar for lokesh.r.kandula

Hi Buddy, I have a requirement to convert the below shown input.xml into result.xml and the XSLT which I am trying with is shown at the end. input.xml: <match> <FieldMatcherResult> <FieldPair> <Context>A</Context> <Field1>A1</Field1> <Field2>A2</Field2> </FieldPair> <FieldPair> <Context>B</Context> <Field1>B1</Field1> <Field2>B2</Field2> </FieldPair> </FieldMatcherResult> </match> result.xml: <result> <FieldMatcherResult> <FieldPair> <Context>A</Context> <Field1>A1</Field1> <Field2>A2</Field2> </FieldPair> …

Member Avatar for Mike Askew
0
175