when traversing an xml documenthow do you get list of elements from itwhat line(sof code do you have to writeprovide an example what is an attribute in an xml document and how do you access an attribute' valueprovide an example from the text or from another example you find online programming problems starting with the version of the draw program that reads an input file with variable length recordsadd new graphics command of your choice to the program consider how it would be written to filecreate test filewrite your codeand test it you must design two filesa sample test fileand the program itself some examples might be graphics command to draw star with some number of pointsa rectangle with height and widthetc starting with the draw program provided in sect extend the program to include new button to draw new shape for the draw program for instancehave the draw program draw star on the screen or smiley face or something of your choosing hintif you use the forward and back methods to draw your shapeyou can scale it by multiplying each forward and back amount by scale value thenyou can let the user pick scale for it (or use the radius amount as your scaleand draw your shape in whatever size you like to complete this exercise you must extend your xml format to include new graphics command to store the relevant information for drawing your new shape you must also define new graphicscommand class for your new shape add the ability to draw text string on draw picture you'll need to let the user pick point size for real challengelet the user pick the font type from drop-down list of font types draw string that you have the user enter in an entry box find an xml document of your choice on the internetwrite code to parse through the data and plot something from that data whether it be some value over time or something else use turtle graphics to plot the data that you find add new button to the drawing program presented in sect that draws rainbow centered above the current location of the turtle this can be done quite easily by using sin and cos ( sine and cosinethe sin and cos functions take radians as parameter to draw rainbowthe radians would range from to math pi from the math module you must import the math module to get access to math cos and math sin as well as math pi to draw values in an arcyou can use for loop and let variableirange from to then radius math cos( / math pi)radius math sin( / math piis the next , coordinate of the rainbow' arc by varying the radius you will get several stripes for your rainbow this copy belongs to 'acha