hclbaur / sdt-core

SDT Core Implementation
The Unlicense
0 stars 0 forks source link

Ideas / extensions #2

Open hclbaur opened 1 year ago

hclbaur commented 1 year ago

The following are just ideas, they are not yet supported, and need to be refined.

Possible functions similar to XSLT:

message Writes a message to the output (used to report errors)

output Defines the format of the output document

sort Sorts the output

text Writes literal text to the output

value-of Extracts the value of a selected node

hclbaur commented 4 months ago

We defintely need sort. And message could write to error output rather than standard output. Maybe even an abort command to throw a TransformException with a custom message.