Can u just tell me that,whether my approach is ok or not
Is there any efficient approach for my requirements
----- Oleg Tkachenko wrote: ----
prabha wrote
I am reading from the word doc tables,which includes special char
and html tags.when i convert the word doc to a structured xml it wa
converting that < to < and special characters like "¢" t
&cen;
While former is ok, latter means your output encoding doesn't allow ¢
character to be placed natively
When i pass the xml element text,i used CDATA.CDATA will b
storing the same value within that. In the XSL ,i had used EXSL fo
converting the xml to multiple html files. the xsl parser is parsin
the < to < .I had tried the disable-output-escaping and th
xsl:copy-of.But i couldn't able to convert with that
That's known limitation of EXSLT.NET implementation of exsl:document
extension element. disable-output-escaping is ignored as always when you
transforming to XmlWriter
--
Oleg Tkachenk
XmlInside
http://blog.tkachenko.co
-
I am reading from the word doc tables,which includes special chars and html tags.when i convert the word doc to a structured xml it was converting that < to < and special characters like "¢" to &cen;.When i pass the xml element text,i used CDATA.CDATA will be storing the same value within that.
In the XSL ,i had used EXSL for converting the xml to multiple html files
the xsl parser is parsing the < to < .I had tried the disable-output-escaping and the xsl:copy-of.But i couldn't able to convert with that.Then i used HTTPUTILITY's HTMLDECODE method to convert the "<" to "<"
Now my problem is solved.Also For indenting the HTML files i used TIDY Component
-- this is my XML o/p -
<Screen><Id>4_1_0</Id><Graphics>40</Graphics><Textcontent>60</Textcontent><TitleText><![CDATA[Refinance for a Higher Rate? / Welcome¢£¤]]></TitleText><Text><![CDATA[<UL><LI>fdfdgdgg¢£¤<LI>In this module, you will learn about situations where refinancing for a higher rate is a great benefit for your customers<UL><LI>Rtertert¢£¤<LI>Fseretert<UL><L I>Fsdgj¢£¤ <UL><LI>Ereret¢£¤<LI>Etetewt<UL><LI>dfndgdfg¢ £Â¤<LI>dfsdfdsg<LI>dsfgdsg<UL><LI>dfhdejthjrt©<LI >rrtrttrret<LI>ygfhgfhh<UL><LI>fgfdgdh<LI>d gdfggdfg<LI>dfdhjfdfjkgf</UL></UL></UL><LI>etetretry©</UL><LI>Dgkf<LI>Ldfldg©</UL></UL><LI>DOES THE CLIENT WANT TO ADD TARGETED OBJECTIVES FOR THIS MODULE? (do not code this) ©]]></Text></Screen
anyway thanks for u'r response