I have a table called SPDNFE
with a column DsXML
that contains all contents of a Xml
.
Query:
SELECT top 1 SPDNFE.DsXML FROM SPDNFE
where SPDNFE.CdIdNFe = 'NFe32170710490181000569550040001475221002513963'
Return of this query is a Xml
as follows. ( Only one part )
<vol><qVol>3</qVol><esp>VL</esp><pesoL>43.000</pesoL><pesoB>43.000</pesoB></vol>
How do I find out what is inside the tag <qVol>
which would be the number 3
.
Is there a way to substring
or something like this?