You can reply to the thread by replying to this email.
Rather than having us go to the effort of constructing a mental model of your
XML, you are much more likely to get a helpful reply if you post a small sample
of the XML, saving us the energy of making it up, and therefor giving us more
time and thinking cycles to devote to solving the problem.
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
-----Original Message-----
From: Ed Yau <eyau(_at_)vstrading(_dot_)co(_dot_)uk>
Sent: Tue, 14 Nov 2006 14:13:26 -0000
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: [xsl] Find out the existance of an element between 2 others
Hi,
I'm working with some WordML at present, trying to identify if a page is
blank so that I can remove it.
Unfortunately, there is no <page> tag, otherwise things would be a lot
easier.
Instead, pages are delimited using the <w:br> tag. Valid text elements
are wrapped in <w:t> tags.
What I am trying to express in an Xpath is
"Look to see where there are any <w:t> elements containing text between
these 2 <w:br>s". I can understand how to see whether there are any
<w:t> after a <w:br> using axes. What I don't get is how to tell it that
all the <w:t> below the next <w:br> should be excluded. Any thoughts?
Cheers,
Ed
P.s. how do I reply back to this thread afterwards?
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--