Convert XML layout files
Last update: April 21, 2023
- Topics:
- Configuration
CREATED FOR:
- Experienced
- Admin
- Developer
All Magento CLI commands must be run by the file system owner.
Use this command to update your layout XML files if you update the corresponding Extensible Stylesheet Language Transformations (XSLT) stylesheet.
Command options:
bin/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 conversion (required)-o|--overwrite
—include this option to overwrite the existing XML file
Previous pageRun unit tests
Next pageGenerate data for performance testing
Commerce
- Overview
- General setup
- Deployment
- Cache
- Command Line
- Command-line tool
- Common commands
- Enable logging
- Manage the cache
- Manage indexers
- Configure cron jobs
- Compile code
- Operation mode
- Start message queue consumers
- URN highlighter
- Dependency reports
- Localization
- Configuration management
- Static view
- Create symlinks
- Run unit tests
- Convert layout files
- Generate data for performance testing
- Run support utilities (Commerce only)
- Configuration files
- Configuration paths
- Cron Jobs
- Logs
- Message Queues
- Multiple sites
- Search Engine
- Security
- Storage
- Return to Operational Guides