[xsl] using identity transform to change <p /> into <p>text</p>

Subject: [xsl] using identity transform to change <p /> into <p>text</p>
From: Zack Brown <zbrown@xxxxxxxxxxxxxxx>
Date: Wed, 8 May 2002 07:02:31 -0700
Hi folks,

I have a bunch of files with the following form:

--------------------------------------------------------------
<section>

first paragraph.

<p />

second paragraph.

<p />

third paragraph.

<p />

fourth paragraph.

</section>

<section>

<p>paragraph not to change</p>

<p>another good paragraph</p>

</section>
--------------------------------------------------------------

Is there a way to use the identity transform (or anything else) to
change that to

--------------------------------------------------------------
<section>

<p>first paragraph.</p>

<p>second paragraph.</p>

<p>third paragraph.</p>

<p>fourth paragraph.</p>

</section>

<section>

<p>paragraph not to change</p>

<p>another good paragraph</p>

</section>
--------------------------------------------------------------

Thanks,
Zack

-- 
Zack Brown

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


Current Thread