Hi all, Is there an idiom in SXPath/SXSLT for selecting a node and keeping only a small subset of its children by name?
E.g., if, somewhere in my document, I have <foo> <bar/> ...50 other elements... <baz/> <qux>...</qux> ...more elements... </foo> (where the child elements may be in any order), is there a brief way to specify that I want every foo, but with only its bar, baz, and qux child elements attached in the result? If so, how? Presently I’m just using SXPath to get hold of the foo, then using match with list-no-order to get only the elements I want. I’m wondering if there’s a way to skip the match with better XML-fu. Thanks, Jordan -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.