Forum How do I...?

Mixing number of columns.

Gismya
Hello!

Another question: Is there any way of mixing the number of columns in the output document?

I'm taking the XML files via xinclude from a remote server I have no control over, therefore the current setup of file I'm processing is

<?xml version="1.0" encoding="utf-8"?>
<html xmlns:rinfo="http://rinfo.lagrummet.se/taxo/2007/09/rinfo/pub#"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xml:lang="sv">
    <head>
      <title property="dc:title">title</title>
    </head>
    <body>
        [Table of content]
    <div id="everything">
	<xi:include [some xml]>
	<xi:include [another xml]>
	<xi:include [and so on]>
    </div>
    </body>
</html>


Note the <div id="everything">

What I want to do is to, in the CSS, have the div id "everything" have two columns with
div#allt {
	column-count: 2;
    column-gap: 1.5em;
    column-fill: auto; 
    text-align: justify;
    font: 9pt/1.4 Georgia;
}
and that works, no problem. But I also want certain elements (within the imported xml files) to make a page break and be formated in one column. I've tried
*[typeof="rinfo:Bilaga"]{
    column-count: 1 !important;
    page-break-before: always;
}
and while it gives the correct page break it does not render into one column.

Is there any way to do this?
mikeday
Using a page float should work, eg. "float: top" or top-next. In Prince 8.1 there will be support for "column-span: all".
Gismya
That works perfectly, thank you! Neither me nor my friend who's helping me can find a resonable explanation as to why. Care to explain? :)

(EDIT: Never mind, after some thinking we think we figured it out, although I would never have thought of it myself. Once again thank you!)