[Mono-list] Problem with XSLTTranfsorm
Joshua Tauberer
tauberer@for.net
Thu, 25 Nov 2004 19:45:14 -0500 (EST)
Hi, Ariel. Do you have an xsl:param node for modoAccion at the top-level
of your transform? (i.e. <xsl:param name="modoAccion"/>) Also, what do
you mean it is null? If you're not getting the string value, you should
be seeing a message about the variable not being defined.
Happy thanksgiving everyone. Double thanks to all of the Mono developers.
- Josh Tauberer
On Thu, 25 Nov 2004, Ariel Rios wrote:
> I have problems using XSLTTransform. I have the following
> code. I expect to be able to use the var modoAccion inside the
> xslt but it is null. The code works correctly under .net.
>
> modoAccion="INICIAL";
> System.Console.WriteLine ("estoy aca" + modoAccion);
> XsltArgumentList xslArg = new XsltArgumentList();
> xslArg.AddParam("modoAccion", "", modoAccion);
> xslt.Transform(doc1, xslArg,Response.OutputStream , null);
>
> thanks
> ariel
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>