[xquery-talk] xpath/xquery to eleminate certain nodes

Andrew Welch andrew.j.welch at gmail.com
Tue Aug 26 12:56:19 PDT 2008


> I am fighting with a xpath/xquery expression to select the whole xml
> document except of certain nodes that I want to remove. The general
> structure of the document should be preserved.

That's generally known as an "identity transform":

http://en.wikipedia.org/wiki/Identity_transform

For XQuery look at the lowest example.



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


More information about the talk mailing list