This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Memory problem with "document()"
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 4 Mar 2002 13:45:02 -0000
- Subject: RE: [xsl] Memory problem with "document()"
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Is there another way to keep a parsed instance in memory between two
> transformations ?
Yes, that's easy. You can build a Saxon DocumentInfo structure either using
Saxon's native API or using JAXP interfaces, and since DocumentInfo
implements the JAXP Source interface you can supply it directly as an
argument to the transform() method, as often as you like.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list