xml_node->transform
Transforms XML with XSLT.
Target
Signature
1xml_node->transform(sheet::string, variables::staticarray)Transforms XML with XSLT.
xml_node->transform is called with member syntax on a receiver value. xml_node->transform works with structured document or media data. Keep parsing, transformation, and output steps separate enough that each step can be checked on its own.
Parameters
sheet- Required value of type
string. Supplysheetpositionally unless the signature shows a keyword form. variables- Required value of type
staticarray. Supplyvariablespositionally unless the signature shows a keyword form.
Examples
Basic call
1xml('<root/>')->transform(#stylesheet, staticarray)The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.