-
-
Notifications
You must be signed in to change notification settings - Fork 390
Open
Description
Does this library support customize function for xpath?
For example, there is a html string:
<div id="info"></div>
<div id="category_1"></div>
<div id="category_2"></div>
<div id="output"></div>
I want to find out all <div>
which is start with category. In this case, they are category_1 and category_2.
Therefore, I need to customize a function that is defined as match in the namespace fn. So that I can do this work with the following xpath expressions:
//div[fn:match(@id, 'category_\d+')]
But it not seem to be supported in the current version. If so, I think I need to create a pull request to support for this feature.
Looking forward to your reply.
Metadata
Metadata
Assignees
Labels
No labels