Skip to content

Commit

Permalink
Add Xpath, XSLT and an xml group (#1949)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel D. Beck <[email protected]>
  • Loading branch information
autonome and ddbeck authored Oct 18, 2024
1 parent 37582f9 commit 44d88e5
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 1 deletion.
4 changes: 3 additions & 1 deletion features/xml-serializer.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: XMLSerializer
description: The `XMLSerializer` API provides the `serializeToString()` method to construct an XML string representing a DOM tree.
spec: https://w3c.github.io/DOM-Parsing/#the-xmlserializer-interface
group: parsing-and-serialization
group:
- parsing-and-serialization
- xml
compat_features:
- api.XMLSerializer
- api.XMLSerializer.XMLSerializer
Expand Down
23 changes: 23 additions & 0 deletions features/xpath.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: XPath
description: "The `document.evaluate()` method selects elements in an HTML or XML document based on an expression of XPath, a domain specific language for querying XML documents. Also known as XML Path Language."
spec: https://dom.spec.whatwg.org/#xpath
group: xml
caniuse: document-evaluate-xpath
compat_features:
- api.Document.evaluate
- api.XPathEvaluator
- api.XPathEvaluator.XPathEvaluator
- api.XPathEvaluator.createExpression
- api.XPathEvaluator.evaluate
- api.XPathExpression
- api.XPathExpression.evaluate
- api.XPathResult
- api.XPathResult.booleanValue
- api.XPathResult.invalidIteratorState
- api.XPathResult.iterateNext
- api.XPathResult.numberValue
- api.XPathResult.resultType
- api.XPathResult.singleNodeValue
- api.XPathResult.snapshotItem
- api.XPathResult.snapshotLength
- api.XPathResult.stringValue
33 changes: 33 additions & 0 deletions features/xpath.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Generated from: xpath.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "1"
firefox_android: "4"
safari: "3"
safari_ios: "1"
compat_features:
- api.Document.evaluate
- api.XPathEvaluator
- api.XPathEvaluator.XPathEvaluator
- api.XPathEvaluator.createExpression
- api.XPathEvaluator.evaluate
- api.XPathExpression
- api.XPathExpression.evaluate
- api.XPathResult
- api.XPathResult.booleanValue
- api.XPathResult.invalidIteratorState
- api.XPathResult.iterateNext
- api.XPathResult.numberValue
- api.XPathResult.resultType
- api.XPathResult.singleNodeValue
- api.XPathResult.snapshotItem
- api.XPathResult.snapshotLength
- api.XPathResult.stringValue
15 changes: 15 additions & 0 deletions features/xslt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: XSLT
description: The `XSLTProcessor` API transforms XML documents into new XML or HTML documents, using XSLT stylesheets. You can use XSLT to convert data between different XML schemas or to convert XML data into web pages or PDF documents. Also known as Extensible Stylesheet Language Transformations.
spec: https://dom.spec.whatwg.org/#xslt
group: xml
compat_features:
- api.XSLTProcessor
- api.XSLTProcessor.XSLTProcessor
- api.XSLTProcessor.clearParameters
- api.XSLTProcessor.getParameter
- api.XSLTProcessor.importStylesheet
- api.XSLTProcessor.removeParameter
- api.XSLTProcessor.reset
- api.XSLTProcessor.setParameter
- api.XSLTProcessor.transformToDocument
- api.XSLTProcessor.transformToFragment
26 changes: 26 additions & 0 deletions features/xslt.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated from: xslt.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "1"
firefox_android: "4"
safari: "3.1"
safari_ios: "2"
compat_features:
- api.XSLTProcessor
- api.XSLTProcessor.XSLTProcessor
- api.XSLTProcessor.clearParameters
- api.XSLTProcessor.getParameter
- api.XSLTProcessor.importStylesheet
- api.XSLTProcessor.removeParameter
- api.XSLTProcessor.reset
- api.XSLTProcessor.setParameter
- api.XSLTProcessor.transformToDocument
- api.XSLTProcessor.transformToFragment
3 changes: 3 additions & 0 deletions groups/xml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Group comprises XML features such as parsing/serializing, querying and more.
# It does not include XMLHTTPRequest, since it's not specific to XML.
name: XML

0 comments on commit 44d88e5

Please sign in to comment.