Given the following XML, what would be the best way to
retrieve all of the contents within an element that
contains mixed content?

for instance, in this XML, i'd like to retrieve
everything contained within the 'sampleText' node:

"Testing sample<em>text</em>with example
of<strong>mixed<em>content</em></strong>"


here's the XML...


------------------------
<?xml version="1.0" encoding="UTF-8"?>
<foowrapper
xmlns="http://www.example.com/mixedcontent";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.example.com/mixedcontent
foo.xsd">
        <sampleText>Testing sample
        <em>text</em>
        with example of
        <strong>mixed
            <em>content</em>
                </strong>
        </sampleText>
</foowrapper>


------------------------


thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to