Re: [xsl] Template/for-each/Firefox

Subject: Re: [xsl] Template/for-each/Firefox
From: Brett Zamir <brettz9@xxxxxxxxx>
Date: Thu, 01 Sep 2005 18:27:21 -0700
Thanks a million for your help...

So does this mean that there is no way to access the text before or after an
element inside of an element?

For example, in the following, I would like to be able to detect the context
surrounding the page-breaks in order to format the text properly (after
converting the <pb/> into <hr /> breaks):

<p n=1>This is an <pb/> interrupted paragraph which doesn't need indenting
after the page break.</p>
<p n=2><pb/>On the other hand, this paragraph should be indented after the
page break since it would be meaningless to do so before.</p>
<p n=3>Here is <blockquote>an element (here "blockquote) <pb/> requiring
special closure and reopening of formatting after "pb" is converted to
"hr".</blockquote></p>

Is it technically possible then to do tests to see, for example, whether the
<pb/> immediately follows the <p> (whether text intervenes), etc.?

Thanks in advance, whomever,
Brett

Current Thread