Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Split element with another one [Thread Next] Re: Split element with another oneTo: NULL Date: 5/4/2005 2:50:00 PM In general of course removing namespace declarations from the input will break the the input. If your document has any mathml in it then you can't remove the mathml declaration. To avoid copying, just don't use copy-of, so I think i originally said something like: <xsl:for-each select="pagebreak"> <xsl:copy-of select="."/> doing <xsl:for-each select="pagebreak"> <pagebreak/> would generate a new pagebreak element rather than copying one from the source so wouldn't copy any namespace nodes from the source. (but would use any in scope namespaces from the stylesheet) <xsl:for-each select="pagebreak"> <xsl:element name="pagebreak"/> is similar but wouldn't use any namespaces from the stylesheet either (other than the default namepsace, if that has been declared) David | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
