I have an XML document and a CSS file that goes with it, which includes the page formatting style (both exported from Adobe Framemaker). I would like to import this data and display portions of the XML document in a web browser control with in Windows Forms or WPF. It’s not clear to me how do make all of this work together.
Any suggestions would be helpful, thanks.
The approach I took was to get an xslt translation that will format the raw xml into html encoded content for the browser. A google search for ‘xml pretty print’ will find you an xslt transform ready to go.
Use the XML control to do the rest. Give it your xslt file, and the xml and it will take care of transforming the xml.