This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Saving entire xml-Structures in a single variable


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@hico.com>
To: <xsl-list@lists.mulberrytech.com>
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@hico.com;  r.huditsch@hico.com
> >
> >
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]