Subject: Re: xsl to Html help please
From: "Pam Robinson" <pamrob98@xxxxxxxxxxx>
Date: Fri, 30 Mar 2001 11:08:08 -0800
|
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
|