provide convenience method to select a node or its whole content

Change-Id: I1d489977e307e0d803d52ef4995271e3ba57b018
6 files changed