xsl-list
[Top] [All Lists]

Re: pre-processing of child elements

2005-07-07 08:37:41
Dear David,

this solution almost works out:

<xsl:template match="element/text()">
  <i><xsl:apply-templates/></i>
</xsl:template>

Here it must be:

<xsl:template match="element/text()">
  <i><xsl:value-of select="."/></i>
</xsl:template>

Otherwise nothing will be written in the output.

Thanks, Torsten


-----
Wexelblat's Scheduling Algorithm:
Choose two:   Good / Fast / Cheap
-----
Torsten Schassan (Projekt Handschriftendatenbank/MASTER)
Herzog August Bibliothek, Postfach 1364, D-38299 Wolfenbuettel
Tel.: +49-5331-808-117, schassan at hab dot de

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>