Subject: Re: [xsl] XSL:problem printing the values in between two tags From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Mon, 11 Sep 2006 17:59:15 +0530 |
<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>
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL:problem printing the , David Carlisle | Thread | [xsl] Re: Efficiency and replace(), Dimitre Novatchev |
[xsl] troff to unicode conversion, David J Birnbaum | Date | RE: [xsl] Replace new lines by <br>, Ambika.Das |
Month |