Re: [xsl] Need an XPath 2.0 expression that identifies a long block of uninterrupted non-blocking space characters in an XHTML document

Subject: Re: [xsl] Need an XPath 2.0 expression that identifies a long block of uninterrupted non-blocking space characters in an XHTML document
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Oct 2019 17:18:43 -0000
On Mon, Oct 14, 2019 at 05:08:53PM -0000, Costello, Roger L.
costello@xxxxxxxxx scripsit:
> Outlook generates HTML like that shown below. The non-blocking space
> character is nested inside an <o:p> element, which is nested inside a
> <p> element.
[snip]
> 2. Is there a better XPath expression?
[snip]

Does it need to be a single XPath expression?  This looks like a
grouping problem in XSLT; group adjacent paras depending on whether they
contain <o:p>&#160;</o:p> or not.

-- Graydon

Current Thread