> > I am trying to get xs:elment name="book". > > > > The code is: > > > > NodeIterator nl = XPathAPI.selectNodeIterator(scRoot, > > "xs:element/@name=\""+book +"\""); > > > I have never used the XPathAPI but it's seemed more xslt related ; I would try an XPATH expression like "xs:[EMAIL PROTECTED]""+book+"\"]") to retrieve this node.(the node element where the attribute name is equal to the string book) Hope this helps Xavier
