xsl-list
[Top] [All Lists]

Re: How to achieve java format on generated code using xslt

2003-09-25 07:54:19

How can I make sure that they begin under Exception and in a straight
line?
so you want each one to be prefixed by a newline asn (say) four spaces,
so that is
<xsl:for-each select="raisesException">
  <xsl:text>&#10;    </xsl:text>
  <xsl:value-of select="@name"/>
  <xsl:if test="not(position()=last())">,</xsl:if>
</xsl:for-each>


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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