I think something like this will work for you:
<xsl:template match="p">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="lb">
<xsl:text>
</xsl:text>
<!-- or, write <br/> if your output is (X)HTML -->
</xsl:template>
On 9/11/06, Jaebin Lee <jaebin(_dot_)charade(_at_)gmail(_dot_)com> wrote:
Hi, thank you for the reply.
my question was that from the part:
<p TEIform="p">
Translation from italiano to castellano by Antonio Gabald=F3n;
<lb TEIform="lb" />
Subject: Teatro: tragedia;
<lb TEIform="lb" />
Type: Manuscrito MONOGRAFIA;
</p>
with <xsl:value-of select="." />,
I will get the output in one line such as:
"Translation from italiano to castellano by Antonio Gabald=F3n;
Subject: Teatro: tragedia;Type: Manuscrito MONOGRAFIA;"
Would there be a way to switch to new line whenever the <lb> tag comes?
basically to print this in three different lines.
Thank you.
-Jaebin
--
Regards,
Mukul Gandhi
http://gandhimukul.tripod.com
--~------------------------------------------------------------------
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>
--~--