Matthew, it sounds like you're asking not so much "is the xml bigger or smaller after xmlparse", in terms of the internal structs/arrays, but rather in terms of the output when dumped. Am I reading that right?
Sure, when you dump something it's a lot larger because under the covers the page (or email) we see rendered has lots of CSS and other HTML. If you're on CF8, you have some choices with new changes in CFDUMP, including the option to format the dump as text rather than html, as well as to limit how many items are dumped, and more. Check out: http://www.cfquickdocs.com/cf8/?getDoc=cfdump /charlie -----Original Message----- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Matthew Sent: Tuesday, January 20, 2009 10:51 PM To: cfaussie Subject: [cfaussie] Is XML bigger before or after XmlParse Hi guys Is XML bigger or smaller after XmlParse? I would guess that it is bigger because CF has had to convert it into struct/array type objects within objects etc etc. The reason I ask is because recently my inbox exploded due to an error on the server which resulted in error emails being send out and the error just so happened to be on a page where there was a large XML object (I output all available variables/scopes to the error email in order to have the best chance of diagnosing / repeating errors). I was just wondering was the email so big because the XML had be parsed? I'm now going to have to find some way of removing all XML objects from each scope before dispatching an error email... any ideas? I was trying to work out the answer to my first question by looking for ways to establish the size of a variable before and after XmlParse however I haven't yet found a way to find out a variables size. Does anyone know how to do this? e.g. foo.howBigAmI() Cheers Matthew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---