Sections
A comma-separated list of sections, in the CFS configuration file, that contain settings for transforming XML files.
If you only need to handle XML files that match one schema, you can set the ValidationSchema and TransformationStylesheet parameters in the [XmlTransformation]
section:
[XmlTransformation] ValidationSchema=schema.xsd
TransformationStylesheet=transform.xslt
If you need to handle many different XML files, you can use the Sections
parameter to specify several transformations. When you specify multiple transformations, CFS runs the first transformation where the source XML matches the schema specified by ValidationSchema (or the first transformation where this parameter is not set).
[XmlTransformation]
Sections=XmlTransform1,XmlTransform2 [XmlTransform1] ValidationSchema=schema1.xsd
TransformationStylesheet=transform1.xslt [XmlTransform2] // No validation schema, so processes all remaining XML files
TransformationStylesheet=transform2.xslt
Type: | String |
Default: | |
Required: | No |
Configuration Section: | XMLTransformation |
Example: | Sections=XmlTransform1,XmlTransform2
|
See Also |