Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 2.99 KB

config-cli-subcommands-layout-xml.md

File metadata and controls

51 lines (40 loc) · 2.99 KB
layout group subgroup title menu_title menu_node menu_order version github_link redirect_from
default
config-guide
04_CLI
Convert layout XML files
Convert layout XML files
700
2.0
config-guide/cli/config-cli-subcommands-layout-xml.md
/guides/v1.0/config-guide/cli/config-cli-subcommands-layout-xml.html

Overview of layout XML conversion

This command enables you to update your {% glossarytooltip 73ab5daa-5857-4039-97df-11269b626134 %}layout{% endglossarytooltip %} {% glossarytooltip 8c0645c5-aa6b-4a52-8266-5659a8b9d079 %}XML{% endglossarytooltip %} files if you update the corresponding Extensible Stylesheet Language Transformations (XSLT) stylesheet.

For more information about layout XML files, see:

First steps

{% include install/first-steps-cli.html %} In addition to the command arguments discussed here, see Common arguments.

Convert layout XML files

Command options:
magento dev:xml:convert [-o|--overwrite] {xml file} {xslt stylesheet}

where

  • {xml file} is the full path and file name of a layout XML file to convert (required)
  • {xslt stylesheet} is the full path and file name of an XSLT stylesheet file to use for {% glossarytooltip 38c73ce4-8f01-4f74-ab30-1134cec5664f %}conversion{% endglossarytooltip %} (required)
  • -o|--overwrite include this option to overwrite the existing XML file

Related topics