Subject: Re: [xsl] Move elements to preceding parent From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Mon, 15 Jun 2009 15:23:48 +0200 |
Can you please explain the idea of the line:<xsl:template match="p[preceding-sibling::p[1][span[@class ne 'chapter'] and not(matches(span[@class ne 'chapter'][last()], '[.?"!]$'))]]"/>
Does it remove the p that has preceding sibling with no ending character at the end of the last span?
How can I remove the following: 1. extra xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and version="-//W3C//DTD XHTML 1.1//EN" inside html element. 2. extra profile="" in head element 3. extra xml:space="preserve" in p, span and br elements.
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Move elements to precedin, Israel Viente | Thread | Re: [xsl] Move elements to precedin, Israel Viente |
Re: [xsl] Move elements to precedin, Israel Viente | Date | RE: [xsl] global types - controlyin, Sr. Miguel |
Month |