xsl-list
[Top] [All Lists]

Re: [xsl] Passing NodeSet into XSLT 1.0 in Java 7 via setParameter

2017-02-17 08:44:16
Oops. I didn't look at the name of the author.
But it doesn't matter, I've only said good things about XOM !

;)


Le 2017-02-17 15:41, Imsieke, Gerrit, le-tex gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de a écrit :
On 17.02.2017 15:35, cmarchand(_at_)oxiane(_dot_)com wrote:
…
If you want to manipulate the tree, have a look to XOM, which is a tree API much more comfortable than DOM, and much more efficient.

It must be reassuring when someone recommends using your own library ;)

XOM was written by Elliotte Rusty Harold.


Best regards,
Christophe

Le 2017-02-17 14:54, Elliotte Rusty Harold elharo(_at_)ibiblio(_dot_)org a écrit :
Baseline:

* Java 7
* Bundled version of Xalan
* java.xml.transformers.Transformer
* DOM

I want to create and pass a set of elements from Java into the model
where the stylesheet can add them to my output.

Is this possible? In particular, is there a type I can use from Java
such as NodeIterator that this particular processor will recognize as
a node-set and assign to a variable inside the stylesheet?

Or should I simply do all the manipulation in DOM? (I'm trying to keep
my dependencies to a minimum so I don't want to pull in Saxon, etc.)


--
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschäftsführer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vöckler

--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>