I am new to xml format and sql and I have an issue. I have a SQL query that returns the xml like the one below:
<?xml version="1.0" encoding="WINDOWS-1250"?>
<AROUND>
<AB>
<Connected>1</Connected>
<EF>1010</EF>
<GH>10162</GH>
<IJ>HG-131120CXD</IJ>
<KL>New</KL>
<MN>284822</MN>
</AB>
<AB>
<Connected>0</Connected>
<EF>2123</EF>
<GH>54321</GH>
<IJ>HG-131120BRE</IJ>
<KL>Old</KL>
<MN>284822</MN>
</AB>
<AB>
<Connected>1</Connected>
<EF>4321</EF>
<GH>12345</GH>
<IJ>HG-131120DYX</IJ>
<KL>New</KL>
<MN>284822</MN>
</AB>
</AROUND>
and I have to extract some of the values from it (for example: Connected, GH, IJ, KL) using a query so that every AB part of it, no matter how much of them are there (in this example there are 3, but there could be 1-10 or even more), has it's own row. For example (Connected, GH, IJ, KL), first row would be: 1 10162 HG-131120CXD New. And so on, and so on...Thanks in advance.