• Peter Eisentraut's avatar
    Fix namespace handling in xpath function · 79af9a1d
    Peter Eisentraut authored
    Previously, the xml value resulting from an xpath query would not have
    namespace declarations if the namespace declarations were attached to
    an ancestor element in the input xml value.  That means the output value
    was not correct XML.  Fix that by running the result value through
    xmlCopyNode(), which produces the correct namespace declarations.
    
    Author: Ali Akbar <the.apaan@gmail.com>
    79af9a1d
xml.out 27.5 KB