[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL:problem printing the values in between two tag

Subject: Re: XSL:problem printing the values in between two tags
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Mon, 11 Sep 2006 17:59:15 +0530
tagged text print issues
I think something like this will work for you:

<xsl:template match="p">
  <xsl:apply-templates />
</xsl:template>

<xsl:template match="lb">
  <xsl:text>&#xa;</xsl:text>
  <!-- or, write <br/> if your output is (X)HTML -->
</xsl:template>

On 9/11/06, Jaebin Lee <jaebin.charade@xxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.