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.) since I need to display the XML file in MS Word. Now, the
content of these nodes may 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 is applied on the whole node content
not partly...So in that case how can I apply Word Style to a node
content so that the Tables and Bulleted List appear properly along
with the Text...At present, when I apply the Word Styles to the
XML nodes, the text appear properly but if the XML node contains
Tables or Bullted List, they don't appear properly...
I will highly appreciate if anyone can furnish any information on
this...it's really urgent.
Thanks,
Debarshi
__________________
cheers,
debsoft
|