[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: html to xml


Subject: Re: html to xml
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Oct 2000 14:07:44 +0100

Thorbjoern Ravn Andersen writes:
 > Could you introduce an XSLT step that said that all
 > text()-nodes with a h1..h6 tag as their immediate parent, should be
 > enclosed in <p>-tags?

no, because from

 <h1>Foo</h1>
 This is a <code>word</code> word

you'd get

 <h1>Foo</h1>
 <p>This is a </p><code>word</code> word


sebastian


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



Current Thread
Keywords