multiple line in headers..

hi…



have read your reply, about column ids, and worked great…



i have another question though…

i’ve been trying to make multiple line in headers via the xml file…



ive tried these…

1.

hi
hello





2.

hi \n hello





3.

hi

hello





i wanted to place them in the header as: hi

hello



but none work…



and another thing…

i have a java code that tokenizes a very long string, and every token i get i write in the xml, the problem is some of the tokens

has an aphostrophe ( ’ ), which i think causes the error in xml…the error message is “Invalid byte 1 of 1-byte UTF-8 sequence.”.

this causes the xml to be invalid input for the grid…







thank you so much for the help…you’ve been very helpful…

>>i’ve been trying to make multiple line in headers via the xml file.

One of correct solutions

<![CDATA[ hi
hello  ]]>


or

hi <br> hello


You can use any html tags inside header, but they must be escaped in one or another way.

>>the error message is "Invalid byte 1 of 1-byte UTF-8 sequence

The data which you process stored as UTF string, or as string in some other encoding ?
If you process and output data in non-utf encoding you must specify it in XML header

<? xml version="1.0" encoding="iso-8859-1" ?> // this is western european encoding

in common case the data can be safely escaped as

but in you case I think problem is in encoding.