Maximize Saxon Performance in .NET
Added by Anonymous over 15 years ago
Legacy ID: #7466460 Legacy Poster: Lea Hayes (numberkruncher)
Hi, For my current project all I need is to give Saxon a bunch of parameters and a string of XML, and then transform that into another string of XML. I don't need to enumerate the resulting node tree. Is it possible to disable the generation of .NET XmlNode's to improve performance? Many thanks, Lea Hayes
Replies (2)
RE: Maximize Saxon Performance in .NET - Added by Anonymous over 15 years ago
Legacy ID: #7466980 Legacy Poster: Michael Kay (mhkay)
Sure. The parameter passed to the transform() method can be any XmlDestination. If the XmlDestination that you pass is a Serializer, the result tree will not actually be constructed in memory, it will be serialized "on the fly".
RE: Maximize Saxon Performance in .NET - Added by Anonymous over 15 years ago
Legacy ID: #7467265 Legacy Poster: Lea Hayes (numberkruncher)
Excellent, that is exactly what I needed. Thanks!
Please register to reply