dcsimg
XML+XSL - XSLT - XML+XSL...
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, November 6, 2003 10:20 PM

I have the following code: TransformerFactory tFactory = TransformerFactory.newInstance(); Transformer transformer = tFactory.newTransformer(new StreamSource(myXSLFile)); dom_filemakerResult = parser.getDocument(); StreamResult sr = new StreamResult(); transformer.transform(new javax.xml.transform.dom.DOMSource(dom_filemakerResult), new StreamResult("outputFile")); Rather than sending the output to a file, how do i make the output another DOM object of which I can apply another XSL file to rather than writing out to a file, reading it in and constructing another DOM object?    More>>

I have the following code:


TransformerFactory tFactory = TransformerFactory.newInstance();

Transformer transformer = tFactory.newTransformer(new StreamSource(myXSLFile));

dom_filemakerResult = parser.getDocument();

StreamResult sr = new StreamResult();

transformer.transform(new javax.xml.transform.dom.DOMSource(dom_filemakerResult), new StreamResult("outputFile"));


Rather than sending the output to a file, how do i make the output another DOM object of which I can apply another XSL file to rather than writing out to a file, reading it in and constructing another DOM object?

   <<Less
About | Sitemap | Contact