I would like to extract the text of the <Value> nodes under the <root> <Filters> <Filter><Values> where the text in <root> <Filters> <Filter><Name> is "diagnose".
<root> <FromDate>2016-03-01</FromDate> <ToDate>2016-03-25</ToDate> <Variables> <Variable> <Name>pain</Name> </Variable> <Variable> <Name>unit</Name> </Variable> </Variables> <Filters> <Filter> <Name>diagnose</Name> <Values> <Value>1461</Value> <Value>1462</Value> </Values> </Filter> </Filters> </root>
but i just cannot get my head arround XML.
select @CategoryAxis = @CategoryAxis + '<Category>' +cast( measurementdate as nvarchar(12) ) + '</Category> ' from MeasurementStatisticsPerUnit
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE