xpath

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

xpath

A library for Dart developers.
Created from templates made available by Stagehand under a BSD-style
license.
Usage #
A simple usage example:
import 'package:xpath/xpath.dart';

String html = '''
<html>
<body id="content">
<h1>hello</h1>
</body>
</html>
'''

main() {
var tree = Etree.fromString(html);
print(tree.xpath('//*[@id="content"]/h1/text()'[0].name); // print hello
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.