sandya_116
asked on
xmltextreader
Following is an example of tags that I have:
- <ProductSet_s>
<ProductSet_Index>953</Pro ductSet_In dex>
<ProductSet_Name>Conformin g 1/1 LIBOR ARM</ProductSet_Name>
<ProductSet_Description />
<ProductSetState_Index>6</ ProductSet State_Inde x>
<ReleaseToProduction>false </ReleaseT oProductio n>
<Entity_Index>116</Entity_ Index>
<ParentProductSet_Index>94 0</ParentP roductSet_ Index>
<PricingSource_Index>238</ PricingSou rce_Index>
<ProductSpecificSet>1</Pro ductSpecif icSet>
<ScreenOrder>160</ScreenOr der>
<Product_Name />
<Product_Abbreviated_Name> Conf 1/1 LIBOR ARM</Product_Abbreviated_N ame>
<Product_Code>521</Product _Code>
<AvailabilityStartType_Ind ex>3</Avai labilitySt artType_In dex>
<AvailabilityEndType_Index >5</Availa bilityEndT ype_Index>
<CurrentAvailabilityEnd>20 04-01-29T1 7:54:00.56 00000-06:0 0</Current Availabili tyEnd>
<CurrentAvailabilityState_ Index>4</C urrentAvai labilitySt ate_Index>
<AmortizationType_Index>13 4</Amortiz ationType_ Index>
<AmortizationTerm_Index>14 9</Amortiz ationTerm_ Index>
<LoanTerm_Index>136</LoanT erm_Index>
<LoanType_Index>127</LoanT ype_Index>
<ARMAttributeSource_Index> 264</ARMAt tributeSou rce_Index>
<ARMFixedTerm_Index>269</A RMFixedTer m_Index>
<ARMIndex_Index>2</ARMInde x_Index>
<ARMMargin_Index>11</ARMMa rgin_Index >
<ARMFirstCap>2.000</ARMFir stCap>
<ARMPeriodicCap>2.000</ARM PeriodicCa p>
<ARMRelativeCap>6.000</ARM RelativeCa p>
<QualifiedFilterCount>0</Q ualifiedFi lterCount>
<DisqualifiedFilterCount>0 </Disquali fiedFilter Count>
<OverlayedAttributes>0</Ov erlayedAtt ributes>
<BestExOnly>0</BestExOnly>
</ProductSet_s>
- <ProductSet_s>
<ProductSet_Index>954</Pro ductSet_In dex>
<ProductSet_Name>Conformin g 3/1 LIBOR ARM</ProductSet_Name>
<ProductSet_Description />
<ProductSetState_Index>6</ ProductSet State_Inde x>
<ReleaseToProduction>false </ReleaseT oProductio n>
<Entity_Index>116</Entity_ Index>
<ParentProductSet_Index>94 0</ParentP roductSet_ Index>
<PricingSource_Index>240</ PricingSou rce_Index>
<ProductSpecificSet>1</Pro ductSpecif icSet>
<ScreenOrder>170</ScreenOr der>
<Product_Name />
<Product_Abbreviated_Name> Conf 3/1 LIBOR ARM</Product_Abbreviated_N ame>
<Product_Code>523</Product _Code>
<AvailabilityStartType_Ind ex>3</Avai labilitySt artType_In dex>
<AvailabilityEndType_Index >5</Availa bilityEndT ype_Index>
<CurrentAvailabilityEnd>20 04-01-29T1 7:54:01.01 30000-06:0 0</Current Availabili tyEnd>
<CurrentAvailabilityState_ Index>4</C urrentAvai labilitySt ate_Index>
<AmortizationType_Index>13 4</Amortiz ationType_ Index>
<AmortizationTerm_Index>14 9</Amortiz ationTerm_ Index>
<LoanTerm_Index>136</LoanT erm_Index>
<LoanType_Index>127</LoanT ype_Index>
<ARMAttributeSource_Index> 264</ARMAt tributeSou rce_Index>
<ARMFixedTerm_Index>270</A RMFixedTer m_Index>
<ARMIndex_Index>2</ARMInde x_Index>
<ARMMargin_Index>11</ARMMa rgin_Index >
<ARMFirstCap>2.000</ARMFir stCap>
<ARMPeriodicCap>2.000</ARM PeriodicCa p>
<ARMRelativeCap>6.000</ARM RelativeCa p>
<QualifiedFilterCount>0</Q ualifiedFi lterCount>
<DisqualifiedFilterCount>0 </Disquali fiedFilter Count>
<OverlayedAttributes>0</Ov erlayedAtt ributes>
<BestExOnly>0</BestExOnly>
</ProductSet_s>
I can have multiple ProductSet_s tags. How can I use xmltextreader and specify that if ProductSet_index = "a value that i specify" then pop up a message that shows the value of ProductSet_Name?
- <ProductSet_s>
<ProductSet_Index>953</Pro
<ProductSet_Name>Conformin
<ProductSet_Description />
<ProductSetState_Index>6</
<ReleaseToProduction>false
<Entity_Index>116</Entity_
<ParentProductSet_Index>94
<PricingSource_Index>238</
<ProductSpecificSet>1</Pro
<ScreenOrder>160</ScreenOr
<Product_Name />
<Product_Abbreviated_Name>
<Product_Code>521</Product
<AvailabilityStartType_Ind
<AvailabilityEndType_Index
<CurrentAvailabilityEnd>20
<CurrentAvailabilityState_
<AmortizationType_Index>13
<AmortizationTerm_Index>14
<LoanTerm_Index>136</LoanT
<LoanType_Index>127</LoanT
<ARMAttributeSource_Index>
<ARMFixedTerm_Index>269</A
<ARMIndex_Index>2</ARMInde
<ARMMargin_Index>11</ARMMa
<ARMFirstCap>2.000</ARMFir
<ARMPeriodicCap>2.000</ARM
<ARMRelativeCap>6.000</ARM
<QualifiedFilterCount>0</Q
<DisqualifiedFilterCount>0
<OverlayedAttributes>0</Ov
<BestExOnly>0</BestExOnly>
</ProductSet_s>
- <ProductSet_s>
<ProductSet_Index>954</Pro
<ProductSet_Name>Conformin
<ProductSet_Description />
<ProductSetState_Index>6</
<ReleaseToProduction>false
<Entity_Index>116</Entity_
<ParentProductSet_Index>94
<PricingSource_Index>240</
<ProductSpecificSet>1</Pro
<ScreenOrder>170</ScreenOr
<Product_Name />
<Product_Abbreviated_Name>
<Product_Code>523</Product
<AvailabilityStartType_Ind
<AvailabilityEndType_Index
<CurrentAvailabilityEnd>20
<CurrentAvailabilityState_
<AmortizationType_Index>13
<AmortizationTerm_Index>14
<LoanTerm_Index>136</LoanT
<LoanType_Index>127</LoanT
<ARMAttributeSource_Index>
<ARMFixedTerm_Index>270</A
<ARMIndex_Index>2</ARMInde
<ARMMargin_Index>11</ARMMa
<ARMFirstCap>2.000</ARMFir
<ARMPeriodicCap>2.000</ARM
<ARMRelativeCap>6.000</ARM
<QualifiedFilterCount>0</Q
<DisqualifiedFilterCount>0
<OverlayedAttributes>0</Ov
<BestExOnly>0</BestExOnly>
</ProductSet_s>
I can have multiple ProductSet_s tags. How can I use xmltextreader and specify that if ProductSet_index = "a value that i specify" then pop up a message that shows the value of ProductSet_Name?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.