|
Subject: RE: [xsl] XSL output method="text" and indent preservation From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 31 Jul 2001 09:04:16 +0300 |
<!-- myelement -->
<xsl:template match="myelement">
<xsl:value-of select="substring-after(preceding::text()[1], '
')" />
<xsl:text>ChildName </xsl:text><xsl:value-of
select="childelement"/><xsl:text>
</xsl:text><xsl:apply-templates/>
<xsl:text>
</xsl:text>
</xsl:template>
<!-- childparent -->
<xsl:template match="childparent">
<xsl:value-of select="substring-after(preceding::text()[1], '
')" />
<xsl:text>GrandChildName </xsl:text><xsl:value-of select="grandchild"/>
<xsl:text>
</xsl:text>
</xsl:template>
Jarno
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Re: RE: two columns in a tabl, Dimitre Novatchev | Thread | [xsl] TransformerConfigurationExcep, Mahesh V Kondwilkar |
| [xsl] XSL output method="text" and , selva | Date | RE: [xsl] : Escaping '&' in an HTML, Andreas Waechter |
| Month |