Is there a way to select a specific node of the whole object? I was thinking something along the lines of a CSS selector.
There is not currently a way to do this. It often times doesn't make sense since XHP elements can render into other XHP elements making the generated tree fairly different than the pre-rendered tree. If your particular use case has a need for this, it would be fairly easy to do (albeit not altogether performantly) by using the optional parameter to getChildren().