This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: RE: How to transform <BR> to </P><P>
- To: xsl-list <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] RE: How to transform <BR> to </P><P>
- From: owner-xsl-list at lists dot mulberrytech dot com (by way of B. Tommie Usdin)
- Date: Thu, 18 Jan 2001 18:41:55 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
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