xsl-list
[Top] [All Lists]

Re: problems with position() and following-sibling

2005-08-15 03:05:31
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

--~------------------------------------------------------------------
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>
--~--