DESCRIPTION

Subclass of RDF::vCard::Entity with \s-1XML\s0 output support.

Requires XML::LibXML.

Constructor

  • \*(C`new(%options)\*(C' As per RDF::vCard::Entity.

  • \*(C`promote($entity)\*(C' Clones an existing RDF::vCard::Entity, but adds \s-1XML\s0 support.

Methods

As per RDF::vCard::Entity, but also:

  • \*(C`to_xml()\*(C' Formats the object according to the vCard \s-1XML\s0 Internet Draft.

  • \*(C`add_to_document($document)\*(C' Given an XML::LibXML::Document object, adds the vCard data to the document as a child of the root element.

RELATED TO RDF::vCard::Entity::WithXmlSupport…

RDF::vCard.

http://tools.ietf.org/id/draft-ietf-vcarddav-vcardxml-06.txt <http://tools.ietf.org/id/draft-ietf-vcarddav-vcardxml-06.txt>.

AUTHOR

Toby Inkster <[email protected]>.

COPYRIGHT

Copyright 2011 Toby Inkster

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.