> -----Original Message----- > From: Kanarinka [mailto:[EMAIL PROTECTED] > Sent: donderdag 7 maart 2002 16:43 > To: [email protected] > Cc: [EMAIL PROTECTED] > Subject: RE: XPath newbie question (another one) > > > Hello All, > I am also a newbie to xindice and xpath. I am wondering if it is > possible to use Xpath to select a node without selecting its > contents or > all of its children. We are working on a project that will > have elements > that have sizable chunks of text data as their contents. In certain > parts of the application we need to be able to represent the entire > system's hierarchy, but we don't want to pull all of the > contents of the > nodes into memory.
One cannot 'filter' the result of an expression using XPath, if that is what you are looking for. This is planned for inclusion in the XML Query language. So for your problem, you will need to get rid of the unneeded nodes in some other way, potentially programmatically. Pure XPath and XSLT related questions should go to the XSL-List: http://www.mulberrytech.com/xsl/xsl-list/index.html. Regards, </Steven>
