Categories | Question details Back To List | ||
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. <column>hi<br>hello </column> 2. <column>hi \n hello </column> 3. <column>hi hello </column> 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.. Answer posted on Nov 16, 2007 02:31 >>i've been trying to make multiple line in headers via the xml file. One of correct solutions <column><![CDATA[ hi<br>hello ]]></column> or <column>hi <br> hello</column> 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 <cell><![CDATA[ anything here ]]></cell> but in you case I think problem is in encoding. |