xsl-list
[Top] [All Lists]

Re: [xsl] X3D XSLT - progress! next question!

2008-06-05 04:33:22
Dan Ochs wrote:

  Hi

Depending on how you want to do the translation, your math
code looks fine, you could do
<Transform>
          <xsl:attribute name="translation"><xsl:value-of
select="(position() -1 ) * 6"/> 4 1</xsl:attribute>

  An AVT is perfectly suited for that:

    <Transform translation="{ (position() -1) * 6 } 4 1"/>

  Regards,

--drkm
























__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible 
contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>