You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Jan Pernica <ja...@pernica.org> on 2005/04/08 17:51:30 UTC

XPathAPI selectNodeIterator

I have a question about how to use it.

I have XML:
<?xml version="1.0" encoding="utf-8"?>
<getAllMonitoringNotificationsResponse
    xmlns="http://www.iconx.biz/webservices"
                        
xmlns="http://www.iconx.biz/webservices"><getAllMonitoringNotificationsResult>
.....

And I would like to use XPathAPI.selectNodeInterator( data, 
"getAllMonitoringNotificationsResponse/getAllMonitoringNotificationsResult")
but it does not work because I have not specified namespace.
But I do not what to specify in the nameSpace (Node). The problem is 
that the namespace has no prefix.

XPathAPI.selectNodeInterator( data, 
"getAllMonitoringNotificationsResponse/getAllMonitoringNotificationsResult", 
nameSpace)


Any tip will be appreciated

Regards

Jan