Added tests for date element in macros. Implemented code for handling
date tags in macro elements for directives. Directive class passes all
unit tests.
Removed TODO for adding a numeric, or number, element for macros. At the
moment, it was determined there is not need for a numeric element for
text formatting as all numbers are treated as strings and there is
nothing special about a number.
Updated documentation.
Added support for reading the 'info' element and children from a
directive XML file. The values of the title, author, and description
elements are saved as member variables of the 'Directive' class.
Implemented 'not-equal' condition element type attribute value.
Conditions can now test for 'not-equal' relationships between a variable
and a value within a directive rule.
Implemented 'has' type attribute value for the condition element. The
'has' type allows for testing if a value exists within a variable. If a
substring is in the string of the text from a variable, then this
condition will return 'True' as a result for the rule element. This will
be usefully for filing based on a file name containing particular
substring.
Fixed a future problem with date accessed, date created, and date
modified times not being a datetime object that could be easily
formatted.
Added test for the info element and created the 'get_info' method to
make is easier to test the 'info' element of the directive and more
flexible for future use.
Added 'format' attribute to the 'description' element. The 'format'
attribute will be used in the future to define the markup text of the
'description' element. This way, the text can be written in markdown,
reStructuredText, HTML, rtf, and plain text. Different parsers and
viewers will be used depending on the attribute value.
Fixed spelling mistake in documentation.