/** * Supply an initial mode for a transformation. * <p>This is a Saxon extension to the JAXP interface, needed for XSLT 2.0</p> * * @param name the name of the initial mode, in Clark notation (either a local name, * or "{uri}local") * @throws IllegalArgumentException if the argument is invalid, for example if the * format of the name is incorrect or if there is no mode with this name */ public void setInitialMode(String name) throws IllegalArgumentException { xsltTransformer.setInitialMode(QName.fromClarkName(name)); }
/** * Supply an initial mode for a transformation. * <p>This is a Saxon extension to the JAXP interface, needed for XSLT 2.0</p> * * @param name the name of the initial mode, in Clark notation (either a local name, * or "{uri}local") * @throws IllegalArgumentException if the argument is invalid, for example if the * format of the name is incorrect or if there is no mode with this name */ public void setInitialMode(String name) throws IllegalArgumentException { xsltTransformer.setInitialMode(QName.fromClarkName(name)); }
transformer.setInitialMode(initialMode);
transformer.setInitialMode(initialMode);