RE: [xsl] RE: How to transform <BR> to </P><P>

Subject: RE: [xsl] RE: How to transform <BR> to </P><P>
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx (by way of B. Tommie Usdin)
Date: Thu, 18 Jan 2001 18:41:55 -0500

From: Adam Van Den Hoven <Adam.Hoven@xxxxxxxxxxxx> To: "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> 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


Current Thread