Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Empty element match >Thread Next - Re: Empty element match Re: Empty element matchTo: NULL Date: 7/1/2005 6:32:00 PM David Carlisle wrote: > but why how do i overcome the problem that the parser/transformer The hosting provider is running: xsl XSL enabled libxslt Version 1.1.12 libxslt compiled against libxml Version 2.6.16 EXSLT enabled libexslt Version 1.1.12 so libxslt 1.1.12. With sablotron (i'm using that) there is no problem. But what im doing is: data.xml + form.xsl(output=xml) -> temp.xml (contains html tags but in xml format) temp.xml + page.xsl(output=html) -> page.html In page.xsl there is a rule like this: <!-- ! All html should remain html !--> <xsl:template match="*[namespace-uri(.)='' or namespace-uri(.)='http://www.w3.org/1999/xhtml']"> <xsl:copy> <xsl:for-each select="@*"> <xsl:copy/> </xsl:for-each> <xsl:apply-templates select="./node()"/> </xsl:copy> </xsl:template> Maybe this rule forces <br/> to convert to <br></br> ???? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
