[xsl] how to match non-mixed content?

Subject: [xsl] how to match non-mixed content?
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Sun, 3 Oct 2004 10:30:20 -0400
How do I transform this ...

<p><strong>Some Heading</strong></p>

.... to this ...

<h2>Some Heading</h2>

.... but to deal with the following as any typical paragraph mixed content?

<p>Some person said <strong>something</strong></p>

Or, put differently, what xpath expression do I use to get the xhtml:p elements that contain a xhtml:strong element, without mixed content?

Bruce

Current Thread