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.
>
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
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
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();
> 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
-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
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
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
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
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
(
> > 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
>
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
12 matches
Mail list logo