XALAN. Setting object into the transformation machine

2001-09-19 Thread Victor M. Moreno
Hello, before a transformation is made I can set parameters into the transformation machine using the setParameter function. public abstract void setParameter(java.lang.String name, java.lang.Object value) With that I can set String parameter, is there a way to set OBJECTS as parameter into the

Re: converting Transformer's result into NodeSet

2001-08-07 Thread Victor M. Moreno
re what you're trying to accomplish here but how about: > > return new Nodeset(resultado.getNode()); > > Gary > > "Victor M. Moreno" wrote: > > > > Hello, > > I would like to know how can I convert the result of a xalan transformation > >

converting Transformer's result into NodeSet

2001-08-06 Thread Victor M. Moreno
Hello, I would like to know how can I convert the result of a xalan transformation into a NodeSet. So far I am trying: NodeSet funcion1(..) { DOMResult resultado=new DOMResult(); transformer.transform(new StreamSource("banner.xml"), resultado); return resultado; } Obviously here I got an err

Re: Inserting HTML into the result tree

2001-08-03 Thread Victor M. Moreno
respond to > general > > > > > > > El Jue 02 Ago 2001 09:31, escribiste: > > Which version of Xalan are you using? > > Hi Scott, > I am using xalan-j_2_2_D6 > regards > > Victor > > > > > > -scott > > >

Re: Inserting HTML into the result tree

2001-08-02 Thread Victor M. Moreno
"); > } > } > > > File helloWorld.xsl: > > http://www.w3.org/1999/XSL/Transform"; > version="1.0"> > > this won't output anything! > > > > > > > > hello > > > > > > > > > > > > > >

Re: Inserting HTML into the result tree

2001-08-02 Thread Victor M. Moreno
Thanks Gary, can you show me any sample in the xalan package? regards Victor > "Victor M. Moreno" wrote: > > Does the xsl extension element have to return a nodeset instead of a String > > as I am doi

Inserting HTML into the result tree

2001-08-01 Thread Victor M. Moreno
Hello, with xalan I transform xml + xsl into a html output. I am trying to insert: hello in the result tree, but when I open the output with a browser I get:
hello
Can anyone help me? I have built an xsl extension element with xalan, this extension returns the above html code;