AW: AW: interpret html stuff in xml aand pply the html formatting to pdf out

2009-04-23 Thread Georg Datterl
Hi Suma, Yes. Just like you can store the complete element-tree as an xml, you can create an element-tree from an xml. Create the tree from your text xml and add it to item. I'd advise you to use a distinct root node for your xml, so you have a distinct starting point for your transformation

AW: interpret html stuff in xml aand pply the html formatting to pdf out

2009-04-22 Thread Georg Datterl
Hi Suma, Seems like your xml file is not correct. The text is not correct XML (br tag without closing br tag) and the and seem to be encoded as lt; and gt;. Your transformation file does not find tags and therefore can't apply templates. Mit freundlichen Grüßen Georg Datterl --

Re: AW: interpret html stuff in xml aand pply the html formatting to pdf out

2009-04-22 Thread sssr
Thank you Georg I will make sure that br will have closing tags. how I can pevent the encoding of the and to lt; and gt;. I have a string with all html tags in it. and I am creating xml with this string from java using xerces dom. it is automatically encoding all of the html and to lt; and