xsl-list
[Top] [All Lists]

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

2017-02-17 07:54:39
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.)

-- 
Elliotte Rusty Harold
elharo(_at_)ibiblio(_dot_)org
--~----------------------------------------------------------------
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>