https://github.com/asg017/sqlite-xml
https://github.com/asg017/sqlite-xml
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/asg017/sqlite-xml
- Owner: asg017
- Created: 2023-01-20T18:51:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T19:41:00.000Z (over 1 year ago)
- Last Synced: 2025-02-26T17:45:49.946Z (2 months ago)
- Language: Rust
- Size: 48.8 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sqlite-xml
A work-in-progress SQLite extension for querying XML! Not meant to be widely shared.
Once it's ready, you'll be able to do things like:
```sql
select xml_extract(readfile('student.xml'), '//student/name/text()'); -- 'Alex Garcia'select
xml_extract(node, './/text()') as text
from xml_each(
'
Alex
Brian
Craig
',
'//item'
);/*
┌───────┐
│ text │
├───────┤
│ Alex │
│ Brian │
│ Craig │
└───────┘
*/
```