public DocumentPath childPath ( ) { if ( pathElements . size ( ) <= 1 ) { return null ; } return new DocumentPath ( this . pathElements . subList ( pathElements . size ( ) - 1 , pathElements . size ( ) ) ) ; }
Returns the relative path to the given node .