[ssax-sxml] sxpath - or and not filters
Brought to you by:
oleg
From: Gordon W. <gwe...@od...> - 2004-01-08 22:36:56
|
I'm trying to get the equivalent to the XPath "*|text()", in other words, I want to select just the text and element children of a node, not attributes. For this reason, *any* is too broad. For now, I can do sxml:content on the result of an sxpath, but I wonder if there's a more compact way to do this selection: (sxml:content (car ((sxpath '(atom:content) atom-ns) entry))) It looks like sxpath defines or@ and not@ operators, but I can't figure out how to use them and can't find an example, and my guesses haven't worked. Would these be the way to go, or is there a better way to do this? Can someone provide an example of how these operators work? |