Subject: RE: [xsl] TrAX From: Sabrina Fords <Sabrina.Fords@xxxxxxxxxx> Date: Tue, 20 Nov 2001 16:24:14 -0000 |
Hello there, I'm using the TrAX in my java application and would like the application to use my custom parser. I've written the following code to do this ------------------------------------------------- TransformerFactory factory = TransformerFactory.newInstance(); factory.setAttribute(FeatureKeys.SOURCE_PARSER_CLASS, "FormatTranslatorParser"); Transformer t = factory.newTransformer(new StreamSource(fStyleSheet)); t.transform(new StreamSource(fSource), new StreamResult(fOutFile)); ------------------------------------------------------------- and I get the following error msg Exception in thread "main" java.lang.IllegalArgumentException: Not supported: http://icl.com/saxon/feature/sourceParserClass at org.apache.xalan.processor.TransformerFactoryImpl.setAttribute(TransformerFa ctoryImpl.java:558) at FormatTranslator.main(FormatTranslator.java:29) e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please notify info@xxxxxxxxxx immediately. Please note that some of our communications may contain confidential information which it could be a criminal offence for you to disclose or use without authority. This email is not intended nor should it be taken to create any legal relations contractual or otherwise. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] TrAX, cutlass | Thread | RE: [xsl] TrAX, Johannes Döbler |
[xsl] XSL document using XPath func, Sylvie Millette | Date | RE: [xsl] filtering on following-si, Don Smith |
Month |