Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Select Nodes #33

Closed
natebrunette opened this Issue · 1 comment

2 participants

@natebrunette

Is there a way to select a specific node of the whole object? I was thinking something along the lines of a CSS selector.

@Swahvay
Collaborator

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().

@Swahvay Swahvay closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.