|
Subject: Re: [xsl] Mixed content, separation From: Geert Bormans <geert@xxxxxxxxxxxxxxxxxxx> Date: Wed, 29 Feb 2012 09:48:40 +0100 |
<xsl:template match="node()">
<xsl:copy>
<xsl:copy-of select="@*"></xsl:copy-of>
<xsl:apply-templates select="node()"></xsl:apply-templates>
</xsl:copy>
</xsl:template>given <p> text1 <i>italic</i> <ul> ... </ul> text 2</p> or <p> text1 <i>italic</i> <dl> ... </dl> text 2</p>
How can I produce
<p> text1 <i>italic</i></p> <ul> ... </ul> <p>text 2 (any other inlines)</p>
I.e. isolate the block elements...
nasty side: I'm unsure of the list of inline elements!
any suggestions appreciated.
Dave
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Mixed content, separation, davep | Thread | Re: [xsl] Mixed content, separation, Andrew Welch |
| [xsl] Mixed content, separation, davep | Date | Re: [xsl] Mixed content, separation, Andrew Welch |
| Month |