Development

HowToApplyTransformationsToSchema

You must first sign up to be able to contribute.

Version 2 (modified by mbertier, 12 years ago)
--

Apply XSL transformations to schema.xml

Installation

  • Download the file attached to the page. This is a custom symfony pake task.
  • Drop the file into %SF_DATA_DIR%/tasks (eg. /usr/share/php/data/symfony/tasks)
  • run symfony -T. You should see a new task available :
transform-schema    > apply transformations to your data model

Usage

run

symfony transform-schema myTransformation

The task will search for data/transform/myTransformation.xsl and apply it to schema.xml.

Attachments