<extract-data> extract HTML5 data attributes from HTML
- name
- extract-data
- xml namespace
- http://moyaproject.com/soup
Extract HTML5 data- attributes
attributes
name |
purpose |
type |
required? |
default |
choices |
raw |
return raw data (without attempting JSON decode)? |
boolean |
No |
no |
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
dst |
Destination |
reference |
No |
|
|
filter |
Filter by attributes |
function |
No |
|
|
if |
Conditional expression |
expression |
No |
yes |
|
max |
Maximum number of tags to match |
integer |
No |
|
|
select |
CSS selector |
text |
No |
"*" |
|
src |
HTML document or fragment |
expression |
Yes |
|
|
value |
Value |
expression |
No |
None |
|