I am trying to create a html file using XML and XSL, following are the steps I do.
1. Parse and create a document object say D1, from the XML. 3. Create a Transformer with the XSL. 2. get a Child Node say CN, from the D1, 4. Invoke transform with the DOMSource created using the node CN.
The output I get is some unexpected xml. In the above steps ifI convert the node CN to a string and use streamsource instead of DOMSource, then I get the expected html output.