Development

HowToApplyTransformationsToSchema (diff)

You must first sign up to be able to contribute.

Changes from Version 1 of HowToApplyTransformationsToSchema

Show
Ignore:
Author:
mbertier (IP: 82.234.123.217)
Timestamp:
02/07/06 17:17:27 (12 years ago)
Comment:

task installation & usage

Legend:

Unmodified
Added
Removed
Modified
  • HowToApplyTransformationsToSchema

    v0 v1  
     1= Apply XSL transformations to schema.xml = 
     2 
     3== Installation == 
     4 * Download the sfPakeTransform.php file attached to the page. This is a custom symfony pake task. 
     5 * Drop the file into {{{%SF_DATA_DIR%/tasks}}} (eg. {{{/usr/share/php/data/symfony/tasks}}}) 
     6 * run {{{symfony -T}}}. You should see a new task available : 
     7 
     8{{{ 
     9transform-schema    > apply transformations to your data model 
     10}}} 
     11 
     12== Usage == 
     13run  
     14 
     15{{{ 
     16symfony transform-schema myTransformation 
     17}}} 
     18 
     19The task will search for {{{data/transform/myTransformation.xsl}}} and apply it to {{{schema.xml}}}.