Help for this page

Select Code to Download


  1. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <O:ABC xmlns:O="ONE:" 
    ...
        </O:QWERTY>
      </T:ZZZ>
    </O:ABC>
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        $root->addNewChild($TWO_ns, 'UIOP');
        return $root;
    }
    
  3. or download this
        my $root = shift or die;
        $root->addNewChild(<namespace>, <name>);
        return $root;
    
  4. or download this
    sub appendOQ {
        my $root = shift or die;
    ...
        &appendTU($this);
        return $root;
    }
    
  5. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <O:ABC xmlns:O="ONE:" xmlns:T="two:IS:a_namEsp">
    ...
        <T:UIOP/>
      </O:QWERTY>
    </O:ABC>
    
  6. or download this
    # Build the document tree
    my $this = &appendOZ($root);
    $this = &appendTZ($this);
    $this = &appendOQ($this);
    print $DOC->toString(1);
    
  7. or download this
        # Make this node
        my $this = $root->addNewChild(<namesace>, <name>);
        # Append sub tree
        $this->append(&buildSubTree)
        return $this;