Hi, Siljan You can use the XSLTCSource feature (http://xml.apache.org/xalan-j/xsltc/xsltc_trax_api.html), which is XSLTC's own extension to TrAX, to achieve the DTM reuse effect. The DTM for an XSLTCSource object will only be created once per thread. Subsequent references to the XSLTCSource object will use the same DTM created earlier.
Regards, Morris Kwan XSLT Development IBM Toronto Lab Tel: (905)413-3729 Email: [EMAIL PROTECTED] "Siljan Simpson" <[EMAIL PROTECTED] To: [EMAIL PROTECTED] > cc: Subject: Re: Change the of method Access 08/04/2003 09:59 AM Thanks Joseph. Yes, I can get the DTM by asking the DTMManager to create it. But is there some way, I could pass this DTM to the transformer ? This would save me processing time, as the transformer wouldn't have to parse the Source (DOMSource or SAXSource) again to create the DTM. Any suggestions would be greatly appreciated. -Siljan Simpson ----- Original Message ----- From: Joseph Kesselman <[EMAIL PROTECTED]> Date: Mon, 4 Aug 2003 09:10:39 -0400 To: "Siljan Simpson" <[EMAIL PROTECTED]> Subject: Re: Change the of method Access > > > > > >I would like to use the method org.apache.xalan.xsltc.DOM getDOM(Source > source, >int mask) in the class org.apache.xalan.xsltc.trax.TransformerImpl > in my code. > > Actually, you probably do not want to call this; you should instead be > asking the DTMManager object to load the document for you. Among other > things, the xsltc.DOM APIs are fairly likely to be phased out. -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers