Using XSLT to process an HTML page and move a DIV from one place to another

Posted by Dave Mulder on Stack Overflow See other posts from Stack Overflow or by Dave Mulder
Published on 2010-03-19T18:47:13Z Indexed on 2010/03/19 18:51 UTC
Read the original article Hit count: 307

Filed under:
|

I have a HTML page (fully valid) that is post-processed by XSLT.

Let's say the relevant section of code looks like this:

<div id="content"> ... </div>
<div id="announcement"> ... </div>

The XSLT needs to transform it to look like this:

<div id="content"> <div id="announcement"> ... </div> ... </div>

Any ideas? I'm stuck.

© Stack Overflow or respective owner

Related posts about xslt

Related posts about xsl