Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
titleBGColor#D0D9BD
borderStylesolid
titleXmlExamples.groovy
borderColor#D0D9BD
borderWidth1
class XmlExamples {
    static def CAR_RECORDS = '''
        <records>
          <car name='HSV Maloo' make='Holden' year='1974'>
            <country>Australia</country>
            <record type='speed'>Production Pickup Truck with speed of 271kph</record>
          </car>
          <car name='P50' make='Peel' year='1987'>
            <country>Isle of Man</country>
            <record type='size'>Smallest Street-Legal Car at 99cm wide and 59 kg in weight</record>
          </car>
          <car name='Royale' make='Bugatti' year='1953'>
            <country>France</country>
            <record type='price'>Most Valuable Car at $15 million</record>
          </car>
        </records>
        '''
}