Re: [xsl] problems with position() and following-sibling

Subject: Re: [xsl] problems with position() and following-sibling
From: Georges Schmitz <georges.schmitz@xxxxxxxxx>
Date: Mon, 15 Aug 2005 12:05:31 +0200
Kenneth Stephen wrote:

George,

1. Everywhere you've coded following-sibling::Cell[7] - you need
to replace that with ../Cell[7] .


Prakash gave me this hint already

   2.  The Excel format has a default namespace of
urn:schemas-microsoft-com:office:spreadsheet set on the root element
(Worksheet). You need to be using that in your XPath expressions too.
In the following example, I've mapped that namespace to "ss" :



See my previous post, I mapped it to "e".

But that isn't reflecting my real problem. If I walk through the a set of Cell nodes, position() returnes a doubled value, starting with 2 and ending with 14. I will post that in an extra thread.

Thanks,
Georges

Current Thread