[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Saving entire xml-Structures in a single variable


Subject: Re: [xsl] Saving entire xml-Structures in a single variable
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Wed, 11 Jul 2001 08:15:31 -0700

I do this but I (re)assemble XML on the client and put that string in the
hidden input to submit to the server. I assume there is some kind of value
the user is setting. Don't you need to assemble some XML on the client?
Otherwise, why are you passing it back and forth?


----- Original Message -----
From: "Roman Huditsch" <r.huditsch@xxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, July 11, 2001 5:09 AM
Subject: RE: [xsl] Saving entire xml-Structures in a single variable


> Well thanks a lot. Storing the structure in a variable works fine, but
> we need to pass  the stored structure on to a following ASP- page. We
> first thought that it would be best to use the variable in an hidden
> field as follows:
>
> .....
>
> <form action="http://localhost/XToolbox/processForm.asp" method="post" >
>
> .....
>
> <xsl:variable name="xf" select="//xform:instance/*"/>
>
> <input type="hidden" name="instance">
> <xsl:attribute name="value">
> <xsl:value-of select="$xf"/>
> </xsl:attribute>
> </input>
>
> .....
>
>
> But this idea doesn't really work out. Is there any possibility to pass
> the <instance> structure on to the ASP-page, when the form is submitted?
>
>
> <xform:instance>
> > <data>
> > <name/>
> > <lastname/>
> > <tel.number/>
> > <birthdate>
> > <day/>
> > <month/>
> > <year/>
> > </birthdate>
> > </data>
> > </xform:instance>
> >
>
> Yours,
> Roman
>
>
> > Roman Huditsch (RH )
> > _____________________________________________________________________
> > hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
> > TechLab, Thomas A. Edison Straße 2.
> > A-7000 Eisenstadt / Austria
> > phone: +43/2682/704-61-00; fax: +43/2682/704-71-61-10
> > e-mail:support@xxxxxxxx;  r.huditsch@xxxxxxxx
> >
> >
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml