findNodesByXPath within referenced content not working
Posted: Mon May 19, 2014 12:51 pm
Hi,
from within my reference resolver I'm using the method AuthorDocumentController.findNodesByXPath() and this usually works fine. However, when I include this file with xinclude in another file the reference can no more be resolved because findNodesByXPath returns an empty array. My xpath is something like "ancestor::MyNodeName". Is this a known limitation or did I do anything wrong?
Thanks and regards,
Patrik
from within my reference resolver I'm using the method AuthorDocumentController.findNodesByXPath() and this usually works fine. However, when I include this file with xinclude in another file the reference can no more be resolved because findNodesByXPath returns an empty array. My xpath is something like "ancestor::MyNodeName". Is this a known limitation or did I do anything wrong?
Thanks and regards,
Patrik