EDN Admin
Well-known member
Hi I have below xml, i want to read this xml.
acutally in one element i have sub element , and want to loop this value
<span> <span style="font-family:Courier New; color:#ff0000
<span style="color:#0000ff <span><?<span>xml version="1.0" <span>?>
<div style="text-indent:-2em file:///C:/Work/Rules/Test%20Case1.xml# <span style="font-family:Courier New; color:#ff0000 -
<span><span style="color:#0000ff <<span style="color:#990000 <span>TestCases<span> TestCasesName<span><span style="color:#0000ff =" Test Case1 <span style="color:#0000ff <span>"<span>>
<div style="display:block
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 TestCasesName<span><span style="color:#0000ff ><span> Test Case1 <span><span style="color:#0000ff </<span><span style="color:#990000 TestCasesName<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 SetNumber<span><span style="color:#0000ff ><span> asdad <span><span style="color:#0000ff </<span><span style="color:#990000 SetNumber<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Version<span><span style="color:#0000ff ><span> Asdad <span><span style="color:#0000ff </<span><span style="color:#990000 Version<span><span style="color:#0000ff >
<div style="text-indent:-2em file:///C:/Work/Rules/Test%20Case1.xml# <span style="font-family:Courier New; color:#ff0000 -
<span><span style="color:#0000ff <<span><span style="color:#990000 Options<span><span style="color:#0000ff >
<div style="display:block
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Option0<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Option0<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Option1<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Option1<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Option2<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Option2<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Option3<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Option3<span><span style="color:#0000ff >
<span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff </<span><span style="color:#990000 Options<span><span style="color:#0000ff >
<div style="text-indent:-2em file:///C:/Work/Rules/Test%20Case1.xml# <span style="font-family:Courier New; color:#ff0000 -
<span><span style="color:#0000ff <<span><span style="color:#990000 Units<span><span style="color:#0000ff >
<div style="display:block
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Unit0<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Unit0<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Unit1<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Unit1<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Unit2<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Unit2<span><span style="color:#0000ff >
<span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff </<span><span style="color:#990000 Units<span><span style="color:#0000ff >
<span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff </<span><span style="color:#990000 TestCases<span><span style="color:#0000ff >
View the full article
acutally in one element i have sub element , and want to loop this value
<span> <span style="font-family:Courier New; color:#ff0000
<span style="color:#0000ff <span><?<span>xml version="1.0" <span>?>
<div style="text-indent:-2em file:///C:/Work/Rules/Test%20Case1.xml# <span style="font-family:Courier New; color:#ff0000 -
<span><span style="color:#0000ff <<span style="color:#990000 <span>TestCases<span> TestCasesName<span><span style="color:#0000ff =" Test Case1 <span style="color:#0000ff <span>"<span>>
<div style="display:block
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 TestCasesName<span><span style="color:#0000ff ><span> Test Case1 <span><span style="color:#0000ff </<span><span style="color:#990000 TestCasesName<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 SetNumber<span><span style="color:#0000ff ><span> asdad <span><span style="color:#0000ff </<span><span style="color:#990000 SetNumber<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Version<span><span style="color:#0000ff ><span> Asdad <span><span style="color:#0000ff </<span><span style="color:#990000 Version<span><span style="color:#0000ff >
<div style="text-indent:-2em file:///C:/Work/Rules/Test%20Case1.xml# <span style="font-family:Courier New; color:#ff0000 -
<span><span style="color:#0000ff <<span><span style="color:#990000 Options<span><span style="color:#0000ff >
<div style="display:block
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Option0<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Option0<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Option1<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Option1<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Option2<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Option2<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Option3<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Option3<span><span style="color:#0000ff >
<span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff </<span><span style="color:#990000 Options<span><span style="color:#0000ff >
<div style="text-indent:-2em file:///C:/Work/Rules/Test%20Case1.xml# <span style="font-family:Courier New; color:#ff0000 -
<span><span style="color:#0000ff <<span><span style="color:#990000 Units<span><span style="color:#0000ff >
<div style="display:block
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Unit0<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Unit0<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Unit1<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Unit1<span><span style="color:#0000ff >
<div style="text-indent:-2em <span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff <<span><span style="color:#990000 Unit2<span><span style="color:#0000ff ><span> aaa <span><span style="color:#0000ff </<span><span style="color:#990000 Unit2<span><span style="color:#0000ff >
<span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff </<span><span style="color:#990000 Units<span><span style="color:#0000ff >
<span> <span style="font-family:Courier New; color:#ff0000
<span><span style="color:#0000ff </<span><span style="color:#990000 TestCases<span><span style="color:#0000ff >
View the full article