RE: Parsing non-standard XML

2006-05-08 Thread Dawson, Michael
According to XMLSpy, this is a well-formed document until you add multiple BasmatiL nodes. So, when you read this file into a variable, you should be able to just add a new top-level node that encompasses the multiple BasmatiL nodes. Then, you should be able to parse the XML file into an actual

Re: Parsing non-standard XML

2006-05-08 Thread Andrew Spear
Great idea Mike! Turned out to be a pretty elegant solution. Here's what I did to make it work... cfset Parsed = XMLParse(myxml#myxml#/myxml) cfloop index=ii from=1 to=#ArrayLen(Parsed.myxml.xmlchildren)# cfdump var=#Parsed.myxml.basmatiL[ii]#p/p /cfloop According to XMLSpy, this is a