Re: [xml] Canonical XML



Daniel,

Thanks a lot for your explanations! I think now I understand the main problem:

namespace nodes have no parent in libxml2 XPath implementation

You mentioned that this is supposed to complain with XPath 2.0 however, the current standard XPath 1.0 has it. Will it be possible to implement this? This will require
propagating namespace declaration from parents I also mentioned:

<doc xmlns="http://www.w3.org";> <e1 xmlns:w3c="http://www.w3.org"/> </doc>

/ > ls (//namespace::*)[parent::e1]

should return both xmlns="http://www.w3.org"; and xmlns:w3c="http://www.w3.org";


Aleksey.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]