19. parameterGroup
Prev | Chapter 7. Configuration elements | Next

## 19. parameterGroup

    <parameterGroup
      name = non empty token
    >
      Content: [ parameter | parameterGroup ]*
    </parameterGroup>

    <parameter
      name = Non empty token
      url = boolean
    >
      Content: Parameter value
    </parameter>

Define a named group of XSLT style sheet parameters for use inside element `transform` of a process command.

If the `url` attribute of a `parameter` element is specified and its value is `true`, the parameter value must be a relative or absolute URL (properly escaped like all URLs). In such case, the value of the parameter is the fully resolved URL.

Parameter groups make it easier to customize the XSLT style sheet used to convert a document to other formats such as HTML or PDF.

For example, instead of redefining the whole process command `docb.toPS`, suffice to redefine in ``%APPDATA%`\XMLmind\XMLEditor5\addon\customize.xxe` (``$HOME`/.xxe5/addon/customize.xxe` on Linux) its placeholder parameterGroup named "`docb.toPS.transformParameters`".

Examples:

    <parameterGroup name="docb.toPS.transformParameters">
      <parameter name="variablelist.as.blocks">1</parameter>
    </parameterGroup>

    <parameterGroup name="docb.toRTF.transformParameters">
      <parameterGroup name="docb.toPS.transformParameters"/>
    </parameterGroup>

    <parameterGroup name="docb.toPS.FOPParameters">
      <parameter name="configuration" url="true">fop.xconf</parameter>
    </parameterGroup>

Prev | Up | Next
18. property | Home | 20. parameterSet