[Mono-list] Problem with XSLTTranfsorm

Ariel Rios ariel@gnu.org
Fri, 26 Nov 2004 08:58:11 -0600


--=-XhLX1pCcOkj/C8+gaImy
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I have attached a simple example.
Url of mono's bugzilla?

thanks 
ariel



On Thu, 2004-11-25 at 21:12, Atsushi Eno wrote:
> Hi,
> 
> Can you please provide reproducible stylesheet and input document
> as well? If possible, entering a new bug to bugzilla would be nice.
> 
> Atsushi Eno
> 
> 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
> > 
> 

--=-XhLX1pCcOkj/C8+gaImy
Content-Disposition: attachment; filename=Cliente.aspx
Content-Type: text/plain; name=Cliente.aspx; charset=UTF-8
Content-Transfer-Encoding: base64

PCVAIFBhZ2UgU3JjPSJDbGllbnRlLmNzIg0KCUluaGVyaXRzPSJQcmVzZW50YWNpb24uUHJlc2Vu
dGFjaW9uIg0KJT4NCg==

--=-XhLX1pCcOkj/C8+gaImy
Content-Disposition: attachment; filename=Cliente.cs
Content-Type: text/plain; name=Cliente.cs; charset=UTF-8
Content-Transfer-Encoding: base64

dXNpbmcgU3lzdGVtOw0KdXNpbmcgU3lzdGVtLklPOw0KdXNpbmcgU3lzdGVtLlhtbDsNCnVzaW5n
IFN5c3RlbS5YbWwuWHNsOw0KdXNpbmcgU3lzdGVtLlhtbC5YUGF0aDsNCnVzaW5nIFN5c3RlbS5X
ZWIuVUk7DQp1c2luZyBTeXN0ZW0uV2ViLlVJLldlYkNv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