Petals SE XSLT

The SE XSLT should be able to add properties to the reply message

Details

  • Type: Improvement Request Improvement Request
  • Status: New New
  • Resolution: Unresolved
  • Affects Version/s: 2.3.2
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Now,the SE XSLT transforms the input message into an output message according to an XSL.

    It should be able to include properties into the output message. These properties are also generated from XSLs.
    Properties to put in the output message could be defined as following in the provide SU using a new parameter 'output-properties':

    <xslt:stylesheet>main.xsl</xslt:stylesheet>
           <xslt:xsl-parameters>
               ...
           </xslt:xsl-parameters>
           <xslt:output-properties>
                <xslt:output-property name="prop1" xsl="prop1.xsl" />
                <xslt:output-property name="prop2" xsl="prop2.xsl" />
                ...
           </xslt:output-properties>

    To generate output property containing text, use a XSL stylesheet generating text:

    <stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
       <output method="text"/>
    
       <template match="msg">Found it!</template>
    
    </stylesheet>

    XSL generating the output property content is invoked using global variables defined by incoming properties (PETALSSEXSLT-12) and <xsl-parameters>

    Show
    Now,the SE XSLT transforms the input message into an output message according to an XSL. It should be able to include properties into the output message. These properties are also generated from XSLs. Properties to put in the output message could be defined as following in the provide SU using a new parameter 'output-properties':
    <xslt:stylesheet>main.xsl</xslt:stylesheet>
           <xslt:xsl-parameters>
               ...
           </xslt:xsl-parameters>
           <xslt:output-properties>
                <xslt:output-property name="prop1" xsl="prop1.xsl" />
                <xslt:output-property name="prop2" xsl="prop2.xsl" />
                ...
           </xslt:output-properties>
    To generate output property containing text, use a XSL stylesheet generating text:
    <stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
       <output method="text"/>
    
       <template match="msg">Found it!</template>
    
    </stylesheet>
    XSL generating the output property content is invoked using global variables defined by incoming properties (PETALSSEXSLT-12) and <xsl-parameters>
  • Environment:
    -

Activity

There aren't workflow transitions executed yet.

People

Dates

  • Created:
    Thu, 16 Sep 2010 - 19:22:00 +0200
    Updated:
    Fri, 17 Sep 2010 - 08:44:55 +0200