table of contents
Catmandu::Fix::xml_transform(3pm) | User Contributed Perl Documentation | Catmandu::Fix::xml_transform(3pm) |
NAME¶
Catmandu::Fix::xml_transform - transform XML using XSLT stylesheet
SYNOPSIS¶
# Transforms the 'xml' from marcxml to dublin core xml xml_transform('xml',file => 'marcxml2dc.xsl');
DESCRIPTION¶
This Catmandu::Fix transforms XML with an XSLT stylesheet. Based on Catmandu::XML::Transformer the fix will transform and XML string into an XML string, MicroXML (XML::Struct) into MicroXML, and a DOM into a DOM. If the stylesheet is intented to emit text ("<xsl:output method="text"/>", however, this fix always transforms produces a string.
One ore multiple XSLT scripts can be specified with argument "file".
CONFIGURATION¶
2021-01-09 | perl v5.32.0 |