1 Reply Latest reply on May 30, 2008 9:43 AM by ntsiii

    XML Output(Urgent)

    manvitha
      Hi,

      I want to build XML file like this(below one) in .NET.I am getting one sub element i.e Year .But I am not getting Item and its attributes within the Year element.Its very Urgent.I am using XML serializer for this.

      <energyrecap>
      <year id="2006">
      <item type="usage" value="4.666" month="Jan" />
      <item type="usage" value="4.666" month="Feb" />
      <item type="usage" value="4.666" month="Mar" />
      <item type="usage" value="4.666" month="Apr" />
      </year>
      <year id="2007">
      <item type="usage" value="5.666" month="Sep" />
      <item type="usage" value="4.666" month="Oct" />
      <item type="usage" value="3.666" month="Nov" />
      <item type="usage" value="5.666" month="Dec" />
      </year>
      </energyrecap>