
Hi, I have a document which, after parsing into an ElementTree, I validate against a RELAX NG schema. At this point I can use the XPath id function to find the element with a particular id. However, after adding a new element which has an attribute which the schema defines as holding an ID, that element is not found by the id function. If I validate the document against the schema again, nothing changes (not that I think it should be necessary to do this): the document is valid, and the id function doesn't find the element with the appropriate id. If this is the correct behaviour, how do I get the new ids to be recognised? Jamie -- Artefact Publishing: http://www.artefact.org.nz/ GnuPG Public Key: http://www.artefact.org.nz/people/jamie.html