Subclass of rdf::vcard::entity
Subclass of RDF::vCard::Entity with \s-1XML\s0 output support.
Requires XML::LibXML.
\*(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.
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.
RDF::vCard.
http://tools.ietf.org/id/draft-ietf-vcarddav-vcardxml-06.txt <http://tools.ietf.org/id/draft-ietf-vcarddav-vcardxml-06.txt>.
Toby Inkster <[email protected]>.
Copyright 2011 Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.