GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XML::XQL::DATE (3)

.ds Aq ’

NAME

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

CONTENTS

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 Date::Manip 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 <B>dateB> function which creates an XML::XQL::Date object from a string. See XML::XQL::Tutorial 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 XML::XQL and the XML::XQL::Date source file for more details.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 XML::XQL::DATE (3) 2000-01-31

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.