Re: tokenize func

2001-07-16 Thread Gary L Peskin
Shruti -- The problem is in your XPath expression. You ask for all employee nodes that contain any data. The part in [] is called a predicate and simply acts as a condition for which nodes in the XPath should be returned. It does not modify any of those nodes. I'm not sure what you're trying

tokenize func

2001-07-16 Thread shruti
hello,     i am using xalan's extension function tokenize as -   xpath =//employee[tokenize(./,",")] XObject ob = XPathAPI.eval(doc,xpath); NodeSet ns = ob.mutableNodeset();  for (int i =0;i {     Node n =ns.elementAt(i);serializer.transform(new DOMSource(n), new StreamResult(System.out)