I have a problem concerning the xpath functions within Arbortext Editor. I use a valid xpath to get the OID with the acl function xpath_nodeset(..) but I recieve a wrong oid when I use processing instructions (touch ups).
This example should explain the problem:
<?Pub _font FontColor="#c61515"?>
<ROW> <CELL COL="1" TYPE="HEADER">Datum der Annahme des Beschlusses</CELL > <CELL COL="2"><DATE ISO="20100506">6.5.2010</DATE></CELL> </ROW>
With the function xpath_valid("(/ROW/CELL") I receive true (1) but when trying to get the OID of this cell I have to use _font in my XPATH expression. But this should not act like this. The processing instruction is handled by Arbortext like a XML tag. xpath_nodeset($arr, "/ROW/CELL") should return the OID of the cell and not xpath_nodeset($arr, "/_font/ROW/CELL")!
Does anybody had the same problem or should I use a other function? I used the latest Version of Arbortext Editor but the behaivor of the function remains the same.