Subject: Re: [xsl] Process following siblings that have no text into children. From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 16 Aug 2012 11:39:41 -0400 |
My sample input was as follows (extract):
<row row="8"> <column column="1" cell="A8">Reference Standard</column> <column column="2" cell="B8">0-11</column> <column column="3" cell="C8">0=missing</column> </row>
Thus I have column elements (within row), and also column attributes. (I agree that this may be confusing and I may change it)
I've done some more debugging and suspect the problem may be that the preceding-sibling is not bounded by the context node. ie. when I do select="following-sibling::element()[preceding-sibling::element()[column[1] = '']]" the following-sibling axis runs from the context node to the end of the document, but the preceding-sibling axis doesn't just run back to my context node and end there (which I thought it did), but right back to the beginning of the document. So I'm not just "looking back" to where I started and terminating when there is text in column 1, I'm looking right back to the start.
Or is that also wrong ?
Cheers, Wendell
Puzzledly, Richard.
PPS. I'm still not seeing my own messages on the list. Is that normal or is there a setting I need ?
-- ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Process following sibling, David Carlisle | Thread | RE: [xsl] Process following sibling, Kerry, Richard |
Re: [xsl] moving an element and the, Wendell Piez | Date | Re: [xsl] Running out of Memory, Terry Badger |
Month |