I'm clearly not understanding how to parse my XML file. I can get the first "child" but I don't know how to get children after that.
To get the league name I use the below code which was pulled from a cffile which retrieved the XML doc and that works fine:
#mydoc.league.xmlattributes.name# = NBA
In the below, what would be the code to get the "home" team "name"?
|xml document [short version]|
should have value
I get the following error:
Element LEAGUE.DAILY is undefined in MYDOC. <br>The error occurred on line 33.
Do you think the dash in daily-schedule is the issue?
The dash may have something to do with it. As an alternative, use the associative-array style:
In any case, keep to the XML best practice when naming your elements.