[WSG] how to emulate br / in xml

2005-12-06 Thread Torgny Rasmark
Hi! In our project we need to give a reasonably book-alike presentation of printed book pages on the web. We've managed to rather accurately style xml resources but for one minor (?) exception. We cannot find a way to give an arbitrary element the characteristics of the html br element. I

Re: [WSG] how to emulate br / in xml

2005-12-06 Thread James Ellis
HiYou want a line break? How about fiddling with the element's white-space attribute..HTHJamesOn 12/6/05, Torgny Rasmark [EMAIL PROTECTED] wrote:Hi!In our project we need to give a reasonably book-alike presentation of printed book pages on the web. We've managed to rather accurately stylexml

Re: [WSG] how to emulate br / in xml

2005-12-06 Thread Lachlan Hunt
Torgny Rasmark wrote: We cannot find a way to give an arbitrary element the characteristics of the html br element. CSS 2.1, section 12.2 [1] states: | Authors may include newlines in the generated content by writing | the \A escape sequence in one of the strings after the 'content' |

Re: [WSG] how to emulate br / in xml

2005-12-06 Thread Anne van Kesteren
On 12/6/05, Torgny Rasmark [EMAIL PROTECTED] wrote: In our project we need to give a reasonably book-alike presentation of printed book pages on the web. We've managed to rather accurately style xml resources but for one minor (?) exception. We cannot find a way to give an arbitrary element