Paul Lalonde wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

So now I'm further confused - I tried calling XalanNode::getChildren(), but recieved an XalanDOMException with value 9 = NOT_SUPPORTED_ERR.
Clearly I'm asking for the wrong thing.  What's the right thing?


This is a deliberate limitation in Xalan-C's implementation, to save memory. Because the processor never needs to see a list of the children, only the iterative member functions are implemented. Try the following code:

XalanNode* child = node->getFirstChild();

while(child != 0)
{
    ...

    child = child->getNextSibling();
}


Dave

Reply via email to