Displaying line and Polygon from an XML

Discussion created by manojrajteli on Jul 22, 2012
I have came across an example to display point feature from xml file on to the map and it is working fine as shown .I have question that.
1) Is it possible to bind info Window mentioned on click to show some fields from the same xml node(item) where lat lng is stored ?
2) Since my data is coming from sql server and converted to xml my second question is that is it posible to display line feature and polygon feature ? Thank you in advance.