UR::Object::View::Default::Xml(3pm)

UR::Object::View::Default::Xml3pm

Represent object state in xml format

Usage

  $o = Acme::Product->get(1234);
  $v = $o->create_view(
      toolkit => 'xml',
      aspects => [
        'id',
        'name',
        'qty_on_hand',
        'outstanding_orders' => [
          'id',
          'status',
          'customer' => [
            'id',
            'name',
          ]
        ],
      ],
  );
  $xml1 = $v->content;
  $o->qty_on_hand(200);
  $xml2 = $v->content;

Overview

This class implements basic XML views of objects. It has standard behavior for all text views.

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10–11
  4. 12
  5. 13

From libur-perl 0.470+ds-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.