| 
 
Subject: [xsl] Saxon error -999 From: "Eder de Oliveira" <eder@xxxxxxxxxxxxx> Date: Fri, 4 Feb 2005 12:12:24 -0200  | 
private boolean transformXML(String strPFileXML, String strPFileXSL,
  String strPArquivoSaida, String strPPathLMPL) throws Exception {
 boolean retorno = true;
 StreamSource xmlSource = null;
 StreamSource xslSource = null;
 StreamResult outSource = null;
 TransformerFactory tFactory = null;
 Transformer transformer = null;
 try {
  System.setProperty("javax.xml.transform.TransformerFactory",
          "net.sf.saxon.TransformerFactoryImpl");// Templates templates = tFactory.newTemplates(xslSource); // transformer = templates.newTransformer();
  transformer.setOutputProperty(OutputKeys.METHOD, "xml");
  transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "no");
  transformer.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-1");
  transformer.setOutputProperty(OutputKeys.INDENT, "yes");
  // parametro do local do XSL
  transformer.setParameter("directory", strPPathLMPL);// transforma transformer.transform(xmlSource, outSource);
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] XT processor, Eder de Oliveira | Thread | RE: [xsl] Saxon error -999, Michael Kay | 
| RE: [xsl] Decimal precision, Jim Neff | Date | RE: [xsl] which is faster?, Andrew Welch | 
| Month |