XSLT Transforms (or brute XML Hacks) using XMLFoo in Squeak?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
tty
Reply | Threaded
Open this post in threaded view
|

XSLT Transforms (or brute XML Hacks) using XMLFoo in Squeak?

tty
Hi all,

I would like to do the apparently common problem in XSLT of wrapping all the <h2> stuff in a <section> tag.

For example (I omit closing tags here for simplicity)
...
<h2>
<p>
<p>
<h3>
<p>
<stuff>
<h2>
..
...
<more stuff>
...
<h2>
..
...
<MOAR stuff>
...


becomes...
<section
<h2>
<p>
<p>
<h3>
<p>
<stuff>
</section>
<section>
<h2>
..
...
<more stuff>
...
</section>

<section>
<h2>
..
...
<MOAR stuff>
...
</section>


does anybody have any links to some good (purely smalltalk)  techniques ?

thanks in advance.




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside