If your trying to pass a parameter to your stylesheet, try using the setParameter method in the Transformer class.
Christian -----Original Message----- From: Andrea Mattioli [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 1:23 PM To: [email protected] Subject: XALAN : indent-number and indent-amount Hi, this line transformerFactory.setAttribute("indent-number", new Integer(3)); works with the TransformerFactory obtained using Java 1.5. but putting xalan.jar in "jre/lib/endorsed/" I get an exception that says this property is not supported. Neither transformerFactory.setAttribute("indent-amount", new Integer(3)); transformerFactory.setAttribute("xalan:indent-amount", new Integer(3)); work. Do I wrong something ? Best regards, Andrea. Versions: Java 1.5.0_06 Xalan 2.7.0 See also: http://marc.theaimsgroup.com/?l=xalan-j-users&m=111401527513305&w=2
