|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: cleaning up ill-structured html
I would assume that it's easier to do this in perl, provided you know
both?
simon On Thursday, January 23, 2003, at 06:21 PM, Wendell Piez wrote: While what Simon says is generally true, it's not *completely* true that XSLT can't be used to interpolate a hierarchy. See the XSL FAQ at http://www.dpawson.co.uk/xsl/sect2/flatfile.html for an approach treating your step 2 as a grouping problem, and leveraging your hierarchy that way (the trick is to use a key to associate each node with its most recently preceding break, then create a new paragraph every time you process a break with any associated nodes, pulling them into it). --- www.simonwoodside.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








