[Home] [By Thread] [By Date] [Recent Entries]
I asume you could use something like this
(the answer is seperate templates and "apply-templates") <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<html>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template> <xsl:template match="para">
<p>
<xsl:apply-templates/>
</p>
</xsl:template> <xsl:template match="break">
<br />
</xsl:template> <xsl:template match="image">
<img src="{@src}"/>
</xsl:template>
</xsl:stylesheet>with apply-templates you pass the childnodes to the templates cheers Geert At 21:38 29/12/2006, you wrote: Please show us what the "obvious HTML" looks like. -- Charles Knell cknell@xxxxxxxxxx - email
|

Cart



