Skip to content

File module and XPath 3.1 #133

@benibela

Description

@benibela

The file module refers to the "XSLT and XQuery Serialization 3.0" spec. If that is taken literally, it cannot write arrays or maps of 3.1

And the serialize function was extended to allow map {...} serialization params, file:write and file:append should probably allow them to.

And writing map/arrays as JSON is a common task, there should probably be file:write-json, file:append-json functions that are like write/append with default map {"method": "json"} options

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions