Click to See Complete Forum and Search --> : Example of a xml and a xsl as a text or in memory object


procurement
05-29-2007, 02:02 AM
Hi,

Iam using transformer class in which iam converting the xml and a xsl in to html output.Iam taking the xml and its xsl as urls.Can any one let me know if i give the xml and its xsl as in memory object or as a string to the transformer class,will it be able to construct a html output.or can one kindly send me some examples of xml a xsl as a text ,so that i can test..?

BR,
Proc

Stephen Philbin
05-30-2007, 08:16 AM
How you apply an XSL transformation to an XML file is completely dependent on the software you are using to process the XML and XSL files. If you post back with which software you are using (.Net/PHP/process specific libraries/etc.), then I can move this thread to the relevant forum section where you'll be much more likely to get a helpful answer.

You might be surprised to hear, your question has little to do with XML.

procurement
05-30-2007, 12:00 PM
Iam using
javax.xml.transform.Transformer;
javax.xml.transform.TransformerFactory; libraries to convert the xml and xsl in to a html output.