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

Re: xsl to Html help please

Subject: Re: xsl to Html help please
From: "Pam Robinson" <pamrob98@xxxxxxxxxxx>
Date: Fri, 30 Mar 2001 11:08:08 -0800
pam robinson
If you want two separate paragraphs the easiest way is two break it into two text sections and add the <p> tags in your xslt stylesheet.

See examples below:

<text>hello how are u and looking take care of ur self and be a good
boy son.</text>
<text>And talking about ur studies study well and get a nice job and settle down soon </text>


________________________________________________________________________

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

Hope this helps,

Pam


From: "Java XML" <jaxlive@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:  xsl to Html help please
Date: Wed, 28 Mar 2001 12:23:56 -0500

Hi folks,
         I have a typical problem i have an xml like this

<text>hello how are u and looking take care of ur self and be a good boy
son.
          And talking about ur studies study well and get a nice job and
settle down soon </text>

but when i generate an html file using xslt i get it this way

"hello how are u and looking take care of ur self and be a good boy son.And
talking about ur studies study well and get a nice job and settle down soon"


i want to restore the paragraph structure also but i dont know a way to do
it i want to insert a <P> where the paragraph starts and a </p> where
another paragraph starts or is there any other way to restore the paragraph
structure any help is appriciated.

Thanx
JaxLive
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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-2011 All Rights Reserved.