Subject:grouping a group? Author:Ivan Pedruzzi Date:27 Feb 2012 04:28 PM
It seems like there is no way to correlate AttributeCollection to Attribute. The attached solution uses the number of Attribute to group the AttributeCollection elements.
Subject:grouping a group? Author:Glory Leung Date:27 Feb 2012 04:58 PM
>
>It seems like there is no way
>to correlate
>AttributeCollection to
>Attribute. The attached
>solution uses the number of
>Attribute to group the
>AttributeCollection elements.
>
>Does it help?
>
>Ivan Pedruzzi
>Stylus Studio Team
It's helping a bit. Certainly has given me more ideas. Let me play around with your XSL that you have given me.
Subject:grouping a group? Author:Glory Leung Date:28 Feb 2012 07:14 PM
>
>Move the <Value> wrapper
>inside your template, if the
>value is not present in the
>input, it doesn't match the
>rule
>
><AttributeCollection>
><xsl:apply-templates
>select="Value1|Value2|Value3|V
>alue4"/>
></AttributeCollection>
>
>....
>
><xsl:template
>match="Value1|Value2|Value3|Va
>lue4">
><Value>
><xsl:value-of
>select="."/>
></Value>
></xsl:template>
>
>Ivan Pedruzzi
>Stylus Studio Team
I'm guessing from the answer that there is no way to specify a wildcard or to have say Value1-99 or something like that, correct?
Subject:grouping a group? Author:Glory Leung Date:28 Feb 2012 10:01 PM
>
>Move the <Value> wrapper
>inside your template, if the
>value is not present in the
>input, it doesn't match the
>rule
>
><AttributeCollection>
><xsl:apply-templates
>select="Value1|Value2|Value3|V
>alue4"/>
></AttributeCollection>
>
>....
>
><xsl:template
>match="Value1|Value2|Value3|Va
>lue4">
><Value>
><xsl:value-of
>select="."/>
></Value>
></xsl:template>
>
>Ivan Pedruzzi
>Stylus Studio Team
I'm guessing from the answer that there is no way to specify a wildcard or to have say Value1-99 or something like that, correct?