Home   |   Contact Us   |   Site Map

 

 

 

  Date.pm Perldoc

 


NAME

XML::XQL::Date - Adds an XQL::Node type for representing and comparing dates and times


SYNOPSIS

use XML::XQL; use XML::XQL::Date;

my $query = new XML::XQL::Query (Expr => "doc//timestamp[. < date('12/31/1999')]"); my @results = $query->solve ($doc);


DESCRIPTION

This package uses the the Date::Manip manpage package to add an XQL node type (called XML::XQL::Date) that can be used to represent dates and times. The Date::Manip package can parse almost any date or time format imaginable. (I tested it with Date::Manip 5.33 and I know for sure that it doesn't work with 5.20 or lower.)

It also adds the XQL date function which creates an XML::XQL::Date object from a string. See the XML::XQL::Tutorial manpage for a description of the date() function.

You can plug in your own Date type, if you don't want to use Date::Manip for some reason. See the XML::XQL manpage and the XML::XQL::Date source file for more details.



 

Browse our Perldoc FAQs:

Perldoc Home

Perldoc Site Map


Previous Topics

Copy.pm Perldoc

CPAN.pm Perldoc

C.pm Perldoc

CTX.pm Perldoc

Cwd.pm Perldoc

Daemon.pm Perldoc

dataconn.pm Perldoc

data.pm Perldoc


Next Topics

DBD.pm Perldoc

DB_File.pm Perldoc

DBIODBC.pm Perldoc

DBI.pm Perldoc

DB.pm Perldoc

Debug.pm Perldoc

Defaults.pm Perldoc

Deparse.pm Perldoc


Website Spotlight

Domain Hosting with the Leader in Innovative and Comprehensive Web Hosting Solutions, Globalnet GNP.

Reliable Domain Hosting

 

Click here to increase your web traffic insantly!


 Copyright © 1999-2005 Globalnet Promotions, LLC.   |   TheServerRoom.org Home    |   Sitemap    |   RSS News Feeds