Jacob Arnold wrote:
Whenever I test for even nodes using XSLT on my serialized XSP, all the
nodes are even.
This is a FAQ. Most probably you are counting whitespace nodes.

Either avoid selecting text nodes, for example by explicitely
specifying the element you want to match:
 <xsl:apply-templates selec="tr"/>
or strip the whitespace nodes by adding
 <xsl:strip-space="*"/>
to the stlye sheet.

Depending on your specific problem you might need to
refine either approach.

For more details consult the XSLT spec
 http://www.w3.org/TR/xslt
the XSL FAQ reachable from here
 http://www.mulberrytech.com/xsl/xsl-list/
or ask on the XSL list.

J.Pietschmann


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to