Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

attribute name selection

document.evaluate(
  '//*[starts-with(name(), "custom-")]',
  document, 
  null, 
  XPathResult.UNORDERED_NODE_ITERATOR_TYPE, 
  null
)
Source by discourse.wicg.io #
 
PREVIOUS NEXT
Tagged: #attribute #selection
ADD COMMENT
Topic
Name
8+3 =