[SR-Users] xmlops & XPath question

Alex Balashov abalashov at evaristesys.com
Sat May 3 09:49:54 CEST 2014


It's definitely namespace-related, because when I manually hack out the 
namespace, it works fine!

    $var(x) = $rb;
    $var(x) = $(var(x){re.subst,/xmlns=\".+\"//});

    $xml(u=>doc) = $var(x);

    xlog("L_INFO", "State: 
$xml(u=>xpath:/dialog-info/dialog[1]/state/text())\n");

But I can't for the life of me figure out how to construct an XPath 
expression that properly captures the urn:ietf:params:xml:ns:dialog-info 
namespace.


-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list