Subject: RE: [xsl] Convert html:br to paragraphs From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Thu, 02 Jun 2005 01:08:02 +0000 |
<body>1. para is here <br/> 2. para is here and <b>bold</b> or another inline element </body>
<xsl:template match="body"> <xsl:copy> <xsl:call-template name="wrap"> <xsl:with-param name="n" select="node()[1]"/> </xsl:call-template> </xsl:copy> </xsl:template>
<?xml version="1.0" encoding="UTF-8"?> <body> <p>1. para is here </p> <p> 2. para is here and <b>bold</b> or another inline element </p> </body>
i have to convert <br/> structured html sites into documents with a paragraph structure.
that means:
<body>1. para is here <br/> 2. para is here and <b>bold</b> or another inline element </body>
has to be:
<p>1. para is here</p> <p>2. para is here and <b>bold</b> or another inline element</p>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Convert html:br to paragraphs, gregor FELLENZ | Thread | RE: [xsl] Convert html:br to paragr, Michael Kay |
Re: [xsl] Frustrated with xxx:node-, Karl Stubsjoen | Date | [xsl] key() function issue, Bruce D'Arcus |
Month |