1 Reply Latest reply on Nov 3, 2008 8:48 AM by dmindler

    XML Objects and colons

    bg00
      So I'm just trying to create and xml object and it doesn't seem to like colons. This doesn't work:

      var x2:XML = <GetObservation>
      <offering>LONGITUDE</offering>
      <eventTime>
      <ogc:TM_During>
      </ogc:TM_During>
      </eventTime>
      </GetObservation>

      But this does:

      var x2:XML = <GetObservation>
      <offering>LONGITUDE</offering>
      <eventTime>
      <ogcTM_During>
      </ogcTM_During>
      </eventTime>
      </GetObservation>

      Do I need to escape colons to make this work or something?