how are you passing it into cf?  Are you using xml parse first to
convert it to an xml doc?

On 3/29/07, Rick Root <[EMAIL PROTECTED]> wrote:
> I'm having a problem parsing some XML that is being passed in from a Flex
> application.
>
> It looks like this:
>
> <advanceReport type="bio">
>     <recordTypes match="any">
>         <recordType type="AL">
>             <qualifications>
>                 <schools><school>T</school><school>WC</school></schools>
>             </qualifications>
>         </recordType>
>     </recordTypes>
> </advanceReport>
>
> Now, I've got some code that converts such an XML object to a struct... it
> works fine when I use <cfxml> to create the XML object, but I seem to get
> errors when taking the XML object passed in from Flex.
>
> For example,
>
>   <cfdump var="#xmldoc#">
>   <cfdump var="#xmldoc.advanceReport#">
>
> The dump of the document itself looks exactly the same..  you can see it
> here...
>
> http://www.it.dev.duke.edu/public/xmlprob.htm
>
> But the attempted dump of #xmldoc.advanceReport# (which works fine in the
> above page), causes an error coming from Flex that says ADVANCEREPORT is not
> defined in XMLDOC.
>
> What's going on here?
>
> Rick
> --
> CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
> http://www.cfmbb.org
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274098
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to