XML/Input: Difference between revisions

Content deleted Content added
added ocaml
No edit summary
Line 18:
Dave
Emily
 
=={{header|ActionScript}}==
<actionscript>
package
{
import flash.display.Sprite;
 
public class Spectrum extends Sprite
{
public function Spectrum()
{
var xml:XML = <Students>
<Student Name="April" />
<Student Name="Bob" />
<Student Name="Chad" />
<Student Name="Dave" />
<Student Name="Emily" />
</Students>;
for each(var node:XML in xml..Student)
{
trace(node.@Name);
}
}
}
}
</actionscript>
 
=={{header|Visual Basic .NET}}==