RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Ryan Agler
world, there is probably a better way, but it works for me. -Original Message- From: ROSSEL Olivier [mailto:olivier.rossel@;airbus.com] Sent: Thursday, October 24, 2002 4:06 AM To: '[EMAIL PROTECTED]' Subject: RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form. >

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Robert Koberg
which comes back as a nodeset. best, -Rob > -Original Message- > From: Ryan Agler [mailto:ryanagler@;hotmail.com] > Sent: Thursday, October 24, 2002 8:11 AM > To: [EMAIL PROTECTED] > Subject: RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form. > > > Ye

Re: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Antonio Gallardo Rivera
El Jueves, 24 de Octubre de 2002 02:06, ROSSEL Olivier escribió: > > It will work for a textarea if that is an option, but for an > > input, all the tags get stripped out and just the content > > gets included. > > This is a very interesting thread. > So with hidden textareas or you custom class, I

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Bert Van Kets
I used JTidy to parse the string and output it as a DOM stream into an XSP page. This DOM stream is automatically converted to a SAX stream by Cocoon. Regular XSLT can be performed after this. JTidy is readily available in Cocoon. Here's a code snip: try { Tidy tidy = new Tidy();

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread ROSSEL Olivier
> It will work for a textarea if that is an option, but for an > input, all the tags get stripped out and just the content > gets included. This is a very interesting thread. So with hidden textareas or you custom class, I can pass the XML fragment. But when receiving the request parameter in my

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread Ryan Agler
-topic:XSLT] Passing an XML fragment via a HTML form. Hi, Can you simply do: or perhaps: best, -Rob > -Original Message- > From: Ryan Agler [mailto:ryanagler@;hotmail.com] > Sent: Wednesday, October 23, 2002 10:20 AM > To: [EMAIL PROTECTED] > Subject: RE: [Off-topic:X

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread Robert Koberg
Hi, Can you simply do: or perhaps: best, -Rob > -Original Message- > From: Ryan Agler [mailto:ryanagler@;hotmail.com] > Sent: Wednesday, October 23, 2002 10:20 AM > To: [EMAIL PROTECTED] > Subject: RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread Ryan Agler
I had this problem too, and had to write a custom java class to do this inside XSLT, but it works. http://www.w3.org/1999/XSL/Transform"; version="1.0" xmlns:java="http://xml.apache.org/xslt/java"; exclude-result-prefixes="java"> Not sure if you are familiar with making your own J

Re: textarea in XMLForm Re: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread Dario Liberman
Subject: Re: [Off-topic:XSLT] Passing an XML fragment via a HTML form. > ROSSEL Olivier wrote: > >>>I need to pass a subtree of that XML as a parameter, via that form. > >>> > >>>Is there a way, in XSLT, to transform a XML fragment into a strin

Re: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread Emmanuil Batsis (Manos)
ROSSEL Olivier wrote: I need to pass a subtree of that XML as a parameter, via that form. Is there a way, in XSLT, to transform a XML fragment into a string? So I can have an in my form that contains the text of this XML fragment. How about parsing the form element value to a DOM object (

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread ROSSEL Olivier
> > I need to pass a subtree of that XML as a parameter, via that form. > > > > Is there a way, in XSLT, to transform a XML fragment into a string? > > So I can have an in my form that contains the text > of this XML > > fragment. > > How about parsing the form element value to a DOM object >

Re: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread Emmanuil Batsis (Manos)
ROSSEL Olivier wrote: I need to pass a subtree of that XML as a parameter, via that form. Is there a way, in XSLT, to transform a XML fragment into a string? So I can have an in my form that contains the text of this XML fragment. How about parsing the form element value to a DOM object (eith