Skip to main content

Query results issues

Note that selecting an XML element with no text content will always return an empty string.

As shown in the following example, the selected element, Features, is a wrapper element. The Query will return an XML element "Features" but with no content (XML database may do a value concatenation in this case).

<Product>
    <Features>
        <Colors>
            <Color>Blue</Color>
            <Color>Red</Color>
        </Colors>
    </Features>
</Product>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!