in reply to xml::child add child and descendants

XML::Twig works on the original document, so no, it won't trigger on 'document'. I am not sure I understand very well why you would need to do this, could you explain a little more?

  • Comment on Re: xml::child add child and descendants

Replies are listed 'Best First'.
Re^2: xml::child add child and descendants
by Selvakumar (Scribe) on Oct 08, 2009 at 13:52 UTC

    Hi mirod,
    I have changed the 'indd_document' to 'document' element. in the twig_handler.
    After that if i want to check from //indd_docuemnt or if i want to check some xpath conditions. So i have a doubt here.

      You still check on the original indd_document, or forget about the root and just trigger on the element header, you don't have to put the whole hierarchy there.