English 中文(简体)
JAXP XSLT 功能问题文件
原标题:JAXP XSLT document() function problem

我在“java”申请下工作,该申请使用了SLT改造。 我在此呼吁提供大量文件,这样就有可能 j。 lang。 外部例外(我实际上有这种例外),因为每次要求文件之后,文件都注明时间。

At http://xml.apache.org/xalan-j/faq.html#faq-N102F9 I read that it is possible to increase heap memory size which is not the solution in my case. I also tried to use incremental transform which seems to be not supported.

www.un.org/Depts/DGACM/index_spanish.htm 因此,在行使文件(职能时,是否有可能将文件打上黑板?

最佳回答

Like user1066037 s answer, hopefully you can switch to Saxon. Saxon has an extension called saxon:discard-document. It s available in either the PE or EE editions or Saxon-B. Search for "Saxon-B" here: http://saxon.sourceforge.net/

根据萨克森文件:

saxon:discard-document()

saxon:discard-document($doc as document-node()) => document-node(

This function removes a document from Saxon s internal document pool. The document remains in memory for the time being, but will be released from memory by the Java garbage collector when all references to nodes in the document tree have gone out of scope. This has the benefit of releasing memory, but the drawback is that if the same document is loaded again during the same transformation, it will be reparsed from the source text, and different node identifiers will be allocated. The function returns the document node that was supplied as an argument, allowing it to be used in a call such as select="saxon:discard-document(document( a.xml ))".

如果你需要一个实例,说明如何使用<条码>轴心:弃单文件,请让我知道,我可以张贴。

问题回答

您提供的链接中有一个例子,它利用习惯处理指令进行可分的切除。 你们是否尝试了那里所建议的工作?

如果有选择的话。

仅仅用Saxon语交换Xalan,所有东西都将更快,你可以大幅削减记忆。

根据我所知,Xalan will 装载文件,除非在最近发行时有所改动。

Saxon有下游模式:

希望会有所帮助。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签