开发者

Factory Pattern within XPath

I'm trying to implement an XSL-Stylesheet that accesses a toString()-Method of a TextExtractor. The parser I'm using is Saxon9HE.

Simpl开发者_JS百科e Classdiagram:

AbstractText
+toString() : String
Factory
+load(String uri) : AbstractText // Returns a instance of a subclass

Has anyone a clue how to call toString() within a xsl-file?

Thanks, John


You're talking about calling Java from XSLT, right? The rules for that depend on which XSLT processor you are using, which you haven't told us.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜