Login +

Documentation

SLS_XMLToolbox::addFullTag

Since SillySmart 1.0

Description

Construct a full XML Tag
public addFullTag ( string $tag, string $content, [ bool $cdata ] , [ array $attributes ] );

Parameters

  • string $tag
    the tag
  • string $content
    tag's content
  • bool $cdata
    true if you want to encapsulate data into cdata section
  • array $attributes
    array("arttributeName" => "attributeValue")

Return

No return.

Exemples

  •  $xml->addFullTag('node', 'value', true, array('id'=>5,'name'=>'att_name'));
     // Will produce
     [CDATA[value]>

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.