Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Possible to keep a variable value after for-each >Thread Next - Re: Possible to keep a variable value after for-each Re: Possible to keep a variable value after for-eachTo: NULL Date: 4/30/2009 11:59:00 AM On Apr 30, 8:25=A0am, Gina_Marano <ginals...@gmail.com> wrote:
> Joe,
>
> Can we work on this off line as there is no pretty way to paste the
> xml/xsl in a newgroup fashion?
>
> ~Gina_M~
ok, I will try to make an example:
<parts>
<component>
<description>Item123_cover</description>
<color>white</color>
<weight>80</weight>
<component>
<component>
<description>Item123_block</description>
<weight>100</weight>
<pagecount>156</pagecount>
<component>
</parts>
-note, the above can be in any order
generating:
<order>
<cover>
<color>white</color>
<case>(if Item123_block.weight =3D 100 then 'A' if
Item123_block.weight =3D 80 then 'B')</case>
</cover>
<block>
<pagecount>156</pagecount>
<weight>100</weight>
<size>8x11</size>
</block>
<block>
NOTE: the <cover><case> is dependant on the Item123_block's weight.
I didn't come up with the scheme on either end. I just have to make it
work...
~Gina_M~
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
