You could always create the WDDX packet and then parse the data (long winded I know but...) to change
<var name="NAME"> to <var name="name"> Quick Reg Ex could do it no problem. Otherwise, you could create the WDDX packet yourself (which may be a better solution, but ultimately there are always time constraints). HTH Paul > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Blitz, Rob > Sent: 19 October 2001 13:01 > To: '[EMAIL PROTECTED]' > Subject: RE: [cf-xml] OT? - WDDX capitalises my variables > > > CF Struct keys are always upper-case; from what I've read and been told on > Allaire's forums, there's no way around this. This is especially > problematic > when you want to de-serialize your XML into a CF struct but the element > names don't get preserved. > > Kinda sucks. > > Rob > > -----Original Message----- > From: Marc Gadsdon [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 19, 2001 6:29 AM > To: [EMAIL PROTECTED] > Subject: RE: [cf-xml] OT? - WDDX capitalises my variables > > Greg, > > Thanks for the tip - that works a treat - however it doesn't solve our > problem: > > We have to create a structure prior to serialising into WDDX. It would > appear that the structure's keys are capitalised! Do you know of a way of > stopping this by any chance? > > >Not sure about you, but mine goes to all lowercase. > > Yes same here. > > Thanks > > Marc Gadsdon > http://www.in-tuition.co.uk > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Gregory Narain > Sent: 19 October 2001 00:38 > To: [EMAIL PROTECTED] > Subject: Re: [cf-xml] OT? - WDDX capitalises my variables > > > Marc, > > There is a preserveVarCase property on the WDDX recordset. > > If you never want it to revert, then edit your wddx.js file. > > If you want to disable it every now and again: > > var wddx = new WddxRecordset(); > wddx.preserveVarCase = true; > > > Not sure about you, but mine goes to all lowercase. > > HTH, > Greg > > > > -----------------------+ > cf-xml mailing list > [EMAIL PROTECTED] > http://torchbox.com/xml > > -----------------------+ > cf-xml mailing list > [EMAIL PROTECTED] > http://torchbox.com/xml > -----------------------+ cf-xml mailing list [EMAIL PROTECTED] http://torchbox.com/xml
