-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you David!  That works a charm!

Paul

On 12-Sep-06, at 12:51 PM, David Bertoni wrote:

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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFBxQOr7+oA6AsvAkRAhQSAKCLsqlcgeWVcIl5faqBfN8ms6zKVACgnchN
ML5Kv4VhX+2u8Z5KbkexTGc=
=LmWh
-----END PGP SIGNATURE-----

Reply via email to