Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XML::RSS::Parser::UtilUser Contributed Perl DocumentaXML::RSS::Parser::Util(3)

NAME
       XML::RSS::Parser::Util -	utility	methods	for working with
       XML::RSS::Parser.

METHODS
       All utility methods are exportable.

       as_xml($node[,$dec,$encoding])
	   Creates XML output markup for the element object including its
	   siblings. This method is not	a full featured	XML generator, and has
	   its limitations, but	should suffice in most cases. Use with
	   caution.

	   Passing a second optional parameter with the	value of true will add
	   an XML 1.0 standard declaration to the returned XML.	The third
	   parameter (also optional) parameter defines the encoding to be used
	   in the declaration. The default is 'utf-8'.

       encode_xml ($string[, $nocdata])
	   XML encodes any characters in the string that are required to be
	   represented as entities. This method	will attempt to	identify
	   anything that looks like markup and CDATA encodes it. This can
	   optional be turned off by passing a second parameter	with a true
	   value. The markup will be entity encoded instead.

AUTHOR & COPYRIGHT
       Please see the XML::RSS::Parser manpage for author, copyright, and
       license information.

POD ERRORS
       Hey! The	above document had some	coding errors, which are explained
       below:

       Around line 86:
	   =begin without a target?

       Around line 130:
	   '=end' without a target?

perl v5.24.1			  2005-11-18	     XML::RSS::Parser::Util(3)

NAME | METHODS | AUTHOR & COPYRIGHT | POD ERRORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XML::RSS::Parser::Util&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help