[Home] [By Thread] [By Date] [Recent Entries]
Senthilkumaravelan K wrote:
Like: <cond><b>bold text<i>italic bold</i></b>normal text</cond>?Hi Abel, We have an two xslt, one produces the HTML output and other produces the text output for the same xml data. My xml data has more nodes than I have given in my last example. What does "has html content as text node value" mean? If it is a text node and it contains html, then it is not a text node anymore, but a combined node with text and children. The other way around, if it really is text (like XSLT text() would give true for the whole content) then it cannot be html anymore. When We render it in html output, base on the formatting elementsthat's nice, but I don't see how that would work based on your sample data... In case of text output, I loose the formatting attributes of the html of course, because text cannot be formatted. Hope I am clear in my question. ehrm, no, I'm afraid not. I understand you are trying to explain yourself, really, a clear input/output example, plus what you currently have as XSLT would help understanding what you are after much more than the best English prose. Sorry that I couldn't be of more help, -- Abel --
|

Cart



