Converting XHTML to Word ML using XSLT
Hi Friends,
I'm creating a XSL file wherein I'm applying some XSL Transformation to XML document. Now, the XML file contains various nodes like Detail, ImplementationNotes, etc. I have to apply Word Styles to the content of these nodes(Detail, ImplmentationNotes, etc.). Now, the content of these nodes may also contain XHTMLs like Tables, Bulleted Lists, etc. other than simple text. If I simply apply Word Styles to the content of a node containing Tables or Bulleted Lists, they don't appear properly. I have to convert the XHTML to corresponding Word ML so that the Tables or Bulleted List appear properly when the XSLT is applied to the XML document and displyed in MS Word. Now the problem I'm facing is that I'm not able to know what the content of a particular node in XML document contains. Also a Word Style tag is applied on the whole node content not partly...So in that case how can I apply different Word Styles to a single node content...I have the Word Styles for the Tables and Bulleted List but I can't understand how I can apply different Word Styles to a single node content so that the Text in the content appear in the corresponding Word Style, the Table in the content appear in the corresponding Word Style, and so on....
Any help will be appreciated.
Cheers,
Debsoft
__________________
cheers,
debsoft
|