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
Note the <div id="everything">
What I want to do is to, in the CSS, have the div id "everything" have two columns with
Is there any way to do this?
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?