Efficient XSLT pipeline in Java (or redirecting Results to Sources)

后端 未结 3 716
你的背包
你的背包 2020-12-05 01:06

I have a series of XSL 2.0 stylesheets that feed into each other, i.e. the output of stylesheet A feeds B feeds C.

What is the most efficient way of doing this? The

3条回答
  •  情歌与酒
    2020-12-05 01:34

    Your best bet is to stick to DOM as you're doing, because an XSLT processor would have to build a tree anyway - streaming is only an option for very limited category of transforms, and few if any processors can figure it out automatically and switch to a streaming-only implementation; otherwise they just read the input and build the tree.

提交回复
热议问题