This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: RE: How to transform <BR> to </P><P>



From: Adam Van Den Hoven <Adam.Hoven@bluezone.net>
To: "'xsl-list@lists.mulberrytech.com'" <xsl-list@lists.mulberrytech.com>
Subject: RE: [xsl] RE: How to transform <BR> to </P><P>
Date: Thu, 18 Jan 2001 09:27:21 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"



Sun, Christine (Cahners) wrote:
>  Thanks Dimitre,
>
>  But that'll make the whole text node one paragraph, instead
>  of breaking into
>  new paragraphs every time it meets a <BR> as wanted.

the thing is that if you have

<TEXT>This is first paragraph.<BR />Second paragraph.</TEXT>

Then <TEXT> has 3 children, there is:
	TEXT/text() -- This is the first paragraph
	TEXT/BR
	TEXT/text()	-- This is the second paragraph

Each block of text that is a child of text is its own text node.

Adam

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]