dtd
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 84
DTD to XML Schema translator 1.60
DTD to XML Schema translator allows you to translate a Document Type Definition (DTD) into an XML Schema. more>>
DTD to XML Schema translator allows you to translate a Document Type Definition (DTD) into an XML Schema.
DTD to XML Schema translator lets you translate a Document Type Definition into an XML Schema (REC-xmlschema-1-20010502).
The translator can map meaningful DTD entities onto XML Schema constructs (simpleType, attributeGroup, group); the XML document model is not anonymized.
In addition, the translator can map DTD comments onto XML Schema documentation nodes in various ways.
Free available as Java class, Standalone application and as Web tool.
<<lessDTD to XML Schema translator lets you translate a Document Type Definition into an XML Schema (REC-xmlschema-1-20010502).
The translator can map meaningful DTD entities onto XML Schema constructs (simpleType, attributeGroup, group); the XML document model is not anonymized.
In addition, the translator can map DTD comments onto XML Schema documentation nodes in various ways.
Free available as Java class, Standalone application and as Web tool.
Download (0.53MB)
Added: 2007-02-26 License: GPL (GNU General Public License) Price:
976 downloads
XML::Simple::DTDReader 0.04
XML::Simple::DTDReader is a simple XML file reading based on their DTDs. more>>
XML::Simple::DTDReader is a simple XML file reading based on their DTDs.
SYNOPSIS
use XML::Simple::DTDReader;
my $ref = XMLin("data.xml");
Or the object oriented way:
require XML::Simple::DTDReader;
my $xsd = XML::Simple::DTDReader->new;
my $ref = $xsd->XMLin("data.xml");
XML::Simple::DTDReader aims to be a XML::Simple drop-in replacement, but with several aspects of the module controlled by the XMLs DTD. Specifically, array folding and array forcing are inferred from the DTD.
Currently, only XMLin is supported; support for XMLout is planned for later releases.
<<lessSYNOPSIS
use XML::Simple::DTDReader;
my $ref = XMLin("data.xml");
Or the object oriented way:
require XML::Simple::DTDReader;
my $xsd = XML::Simple::DTDReader->new;
my $ref = $xsd->XMLin("data.xml");
XML::Simple::DTDReader aims to be a XML::Simple drop-in replacement, but with several aspects of the module controlled by the XMLs DTD. Specifically, array folding and array forcing are inferred from the DTD.
Currently, only XMLin is supported; support for XMLout is planned for later releases.
Download (0.010MB)
Added: 2006-09-06 License: Perl Artistic License Price:
1146 downloads
DFBPoint 0.7.2
DFBPoint project is a presentation program using DirectFB. more>>
DFBPoint project is a presentation program using DirectFB.
It reads an XML file with simple slide descriptions and displays the slides.
Features include antialiased text, background images, images, and video playback.
The slides can be faded/slid in.
Main features:
- Rectangle filling
- Rectangle drawing
- Line drawing
- Blitting
- Stretched Blitting
- Blitting/Drawing
- Colorizing
Enhancements:
- fixed possible issues with filename encodings
- added a DTD provided by Jochen Hein
- misc minor fixes
<<lessIt reads an XML file with simple slide descriptions and displays the slides.
Features include antialiased text, background images, images, and video playback.
The slides can be faded/slid in.
Main features:
- Rectangle filling
- Rectangle drawing
- Line drawing
- Blitting
- Stretched Blitting
- Blitting/Drawing
- Colorizing
Enhancements:
- fixed possible issues with filename encodings
- added a DTD provided by Jochen Hein
- misc minor fixes
Download (0.52MB)
Added: 2006-10-13 License: GPL (GNU General Public License) Price:
1107 downloads
tX XML editor 1.2
tX, formerly known as Teddy, is a tabular XML editor. more>>
tX, formerly known as Teddy, is a tabular XML editor. tX XML editor presents the structure and content of XML files in a way that is both visually pleasing and easy to use.
Its features include the abiltiy to view XML in an hierarchical way without extraneous syntax or interface elements, edit data like a spreadsheet, enter data without having to worry about encoding rules, make major structural changes with minimal effort, cut and paste between most spreadsheet applications, and export to HTML.
Main features:
- Teddy is now rebranded as tX - Tabular XML editor.
- Compilation under Qt4.
- Elements without subelements have a closing "../>" instead of .
- Attribute-value quotes changed from to ".
- New menu icons - some original, some from art.gnome.org.
- German language translation.
- A new tab called "Help Text" provides a generic help-system for XML-Files. In this tab it is possible to display user documentation: If either the working-directory or the directory of the current xml file has a sub-directory with the name of the DTD, a right-click on an element ( ) will load and display a file called "element_name.html" in the QTextBrowser-Widget. A right-click on the attribute (attribute-name="...") will jump to the "element_name.html#attribute_name" section of the html help file.
<<lessIts features include the abiltiy to view XML in an hierarchical way without extraneous syntax or interface elements, edit data like a spreadsheet, enter data without having to worry about encoding rules, make major structural changes with minimal effort, cut and paste between most spreadsheet applications, and export to HTML.
Main features:
- Teddy is now rebranded as tX - Tabular XML editor.
- Compilation under Qt4.
- Elements without subelements have a closing "../>" instead of .
- Attribute-value quotes changed from to ".
- New menu icons - some original, some from art.gnome.org.
- German language translation.
- A new tab called "Help Text" provides a generic help-system for XML-Files. In this tab it is possible to display user documentation: If either the working-directory or the directory of the current xml file has a sub-directory with the name of the DTD, a right-click on an element ( ) will load and display a file called "element_name.html" in the QTextBrowser-Widget. A right-click on the attribute (attribute-name="...") will jump to the "element_name.html#attribute_name" section of the html help file.
Download (0.20MB)
Added: 2006-06-19 License: GPL (GNU General Public License) Price:
1224 downloads
Embedix::ECD 0.09
Embedix::ECD is a Perl module with Embedix Component Descriptions as objects. more>>
Embedix::ECD is a Perl module with Embedix Component Descriptions as objects.
SYNOPSIS
instantiate from a file
my $ecd = Embedix::ECD->newFromFile(busybox.ecd);
my $other_ecd = Embedix::ECD->newFromFile(tinylogin.ecd);
access nodes
my $busybox = $ecd->System->Utilities->busybox;
build from scratch
my $server = Embedix::ECD::Group->new(name => Server);
my $www = Embedix::ECD::Group->new(name => WWW);
my $apache = Embedix::ECD::Component->new (
name => apache,
srpm => apache,
prompt => Include apache web server?,
help => The most popular http server on the internet,
);
$ecd->addChild($server);
$ecd->Server->addChild($www);
$ecd->Server->WWW->addChild($apache);
get/set attributes
my $srpm = $busybox->srpm();
$busybox->help(i am busybox of borg -- unix will be assimilated.);
$busybox->requires([
libc.so.6,
ld-linux.so.2,
skellinux,
]);
combine Embedix::ECD objects together
$ecd->mergeWith($other_ecd);
print as text
print $ecd->toString;
print as XML
use Embedix::ECD::XMLv1 qw(xml_from_cons);
print $ecd->toXML(shiftwidth => 4, dtd => yes);
my $cons = Embedix::ECD->consFromFile(minicom.ecd);
print xml_from_cons($cons);
Embedix::ECD allows one to represent ECD files as a tree of perl objects. One can construct objects by parsing an ECD file, or one can build an ECD object from scratch by combining instances of Embedix::ECD and its subclasses. These objects can then be turned back into ECD files via the toString() method.
ECD stands for Embedix Component Description, and its purpose is to contain meta-data regarding packages (aka components) in the Embedix distribution. ECD files contain much of the same data a .spec file does for an RPM. A major difference however is that ECD files do not contain building instructions whereas .spec files do. Another major difference between .spec files and ECD files is the structure. ECD files are hierarchically structured whereas .spec files are comparatively flat.
The ECD format reminds me of the syntax for Apache configuration files. Items are tag-delimited (like in XML) and attributes are found between these tags. Comments are written by prefixing them with /^s*#/. Unlike apache configurations, attribute names and values are separated by an "=" sign, whereas in apache the first token is the attribute name and everything after that (sans leading whitespace) and up to the end of the line is the attributes value. Also, unlike apache configurations, attributes may also be enclosed in tags, whereas in apache tags are used only to describe nodes.
ECD files look like pseudo-XML with shell-styled comments.
<<lessSYNOPSIS
instantiate from a file
my $ecd = Embedix::ECD->newFromFile(busybox.ecd);
my $other_ecd = Embedix::ECD->newFromFile(tinylogin.ecd);
access nodes
my $busybox = $ecd->System->Utilities->busybox;
build from scratch
my $server = Embedix::ECD::Group->new(name => Server);
my $www = Embedix::ECD::Group->new(name => WWW);
my $apache = Embedix::ECD::Component->new (
name => apache,
srpm => apache,
prompt => Include apache web server?,
help => The most popular http server on the internet,
);
$ecd->addChild($server);
$ecd->Server->addChild($www);
$ecd->Server->WWW->addChild($apache);
get/set attributes
my $srpm = $busybox->srpm();
$busybox->help(i am busybox of borg -- unix will be assimilated.);
$busybox->requires([
libc.so.6,
ld-linux.so.2,
skellinux,
]);
combine Embedix::ECD objects together
$ecd->mergeWith($other_ecd);
print as text
print $ecd->toString;
print as XML
use Embedix::ECD::XMLv1 qw(xml_from_cons);
print $ecd->toXML(shiftwidth => 4, dtd => yes);
my $cons = Embedix::ECD->consFromFile(minicom.ecd);
print xml_from_cons($cons);
Embedix::ECD allows one to represent ECD files as a tree of perl objects. One can construct objects by parsing an ECD file, or one can build an ECD object from scratch by combining instances of Embedix::ECD and its subclasses. These objects can then be turned back into ECD files via the toString() method.
ECD stands for Embedix Component Description, and its purpose is to contain meta-data regarding packages (aka components) in the Embedix distribution. ECD files contain much of the same data a .spec file does for an RPM. A major difference however is that ECD files do not contain building instructions whereas .spec files do. Another major difference between .spec files and ECD files is the structure. ECD files are hierarchically structured whereas .spec files are comparatively flat.
The ECD format reminds me of the syntax for Apache configuration files. Items are tag-delimited (like in XML) and attributes are found between these tags. Comments are written by prefixing them with /^s*#/. Unlike apache configurations, attribute names and values are separated by an "=" sign, whereas in apache the first token is the attribute name and everything after that (sans leading whitespace) and up to the end of the line is the attributes value. Also, unlike apache configurations, attributes may also be enclosed in tags, whereas in apache tags are used only to describe nodes.
ECD files look like pseudo-XML with shell-styled comments.
Download (0.040MB)
Added: 2006-09-26 License: Perl Artistic License Price:
1124 downloads
jPdfCalendar 0.8.0
jPdfCalendar is a tool which allows you to create printable calendar pages as a PDF document from any of your images. more>>
jPdfCalendar project allows you to create printable calendar pages as a PDF document from any of your images. The iText library is used to create the PDF itself.
You can add your own "special days" for each month, customize colors, fonts, borders etc.
To create calendar file, you should prepare xml file which structure is described in dtd file. The dtd structure also is described in graphical manner in image file. These information can be found in dtd folder.
To create a sample, use bin/createme.sh script. This script will create sample/calendar_public_en_2007.pdf file according to sample/calendar_public_en.xml project and with images from sample/pictures folder.
Requirements
You need Java 1.5 (or higher) JRE in your OS.
This tool uses iText library (http://www.lowagie.com/iText/) to manipulate of PDFs.
Well-known problem
If image is too large, especially if a hight of image large when page hight, the auto scaling works not properly (the day table is pulled out on the next page). In this case it is necessary to use "scale" tag and set scale factor manually.
Additional tool
Also here is some additional tool, PdfImageRipper. This tool has been created to extract (rip) images from PDF files.
It uses iText functionality to do it and you can think about it as Front-End-Tool. To use this tool, get bin/imgrip.sh script.
Enhancements:
- Moon phases are now displayed in the days table.
- The first day of week is now dependent on the locale, but can be changed in XML.
<<lessYou can add your own "special days" for each month, customize colors, fonts, borders etc.
To create calendar file, you should prepare xml file which structure is described in dtd file. The dtd structure also is described in graphical manner in image file. These information can be found in dtd folder.
To create a sample, use bin/createme.sh script. This script will create sample/calendar_public_en_2007.pdf file according to sample/calendar_public_en.xml project and with images from sample/pictures folder.
Requirements
You need Java 1.5 (or higher) JRE in your OS.
This tool uses iText library (http://www.lowagie.com/iText/) to manipulate of PDFs.
Well-known problem
If image is too large, especially if a hight of image large when page hight, the auto scaling works not properly (the day table is pulled out on the next page). In this case it is necessary to use "scale" tag and set scale factor manually.
Additional tool
Also here is some additional tool, PdfImageRipper. This tool has been created to extract (rip) images from PDF files.
It uses iText functionality to do it and you can think about it as Front-End-Tool. To use this tool, get bin/imgrip.sh script.
Enhancements:
- Moon phases are now displayed in the days table.
- The first day of week is now dependent on the locale, but can be changed in XML.
Download (4.4MB)
Added: 2007-03-14 License: Other/Proprietary License with Source Price:
954 downloads
XML::Structured 1.0
XML::Structured is a simple conversion API from XML to perl structures and back. more>>
XML::Structured is a simple conversion API from XML to perl structures and back.
SYNOPSIS
use XML::Structured;
$dtd = [
element =>
attribute1,
attribute2,
[],
element1,
[ element2 ],
[ element3 =>
...
],
[[ element4 =>
...
]],
];
$hashref = XMLin($dtd, $xmlstring);
$hashref = XMLinfile($dtd, $filename_or_glob);
$xmlstring = XMLout($dtd, $hashref);
The XML::Structured module provides a way to convert xml data into a predefined perl data structure and back to xml. Unlike with modules like XML::Simple it is an error if the xml data does not match the provided skeleton (the "dtd"). Another advantage is that the order of the attributes and elements is taken from the dtd when converting back to xml.
<<lessSYNOPSIS
use XML::Structured;
$dtd = [
element =>
attribute1,
attribute2,
[],
element1,
[ element2 ],
[ element3 =>
...
],
[[ element4 =>
...
]],
];
$hashref = XMLin($dtd, $xmlstring);
$hashref = XMLinfile($dtd, $filename_or_glob);
$xmlstring = XMLout($dtd, $hashref);
The XML::Structured module provides a way to convert xml data into a predefined perl data structure and back to xml. Unlike with modules like XML::Simple it is an error if the xml data does not match the provided skeleton (the "dtd"). Another advantage is that the order of the attributes and elements is taken from the dtd when converting back to xml.
Download (0.005MB)
Added: 2006-09-07 License: Perl Artistic License Price:
1142 downloads
BoardGame Tool 0.1.1
BoardGame Tool provides a C++ front-end/Python back-end for running board games. more>>
BoardGame Tool provides a C++ front-end/Python back-end for running board games.
It features an easy and flexible interface to interact with the players and has transparent support for network or AI-controlled games.
Through a clear XML interface, games elements can be specified. Using an easy-to-learn back-end language like Python for rule implementations makes it very easy to implement, adjust, or enhance rules that come with a game.
The same back-end language can be used easily for simple or complex AI implementations.
Main features:
- XML specification with DTD validation for game definition
- Easy-to-learn Python programming for rule implementation
- Integrated and transparent network play
- Network chat with selected players
- Simple interface for programming AI players
- Extensive support for image formats
- Runtime scaling of images, allowing easy application of anything as gamepiece
Games currently implemented:
- Chess
- Go
Enhancements:
- This release includes the data archive with correct licensing information for the Fergus Duniho abstract chess piece set.
<<lessIt features an easy and flexible interface to interact with the players and has transparent support for network or AI-controlled games.
Through a clear XML interface, games elements can be specified. Using an easy-to-learn back-end language like Python for rule implementations makes it very easy to implement, adjust, or enhance rules that come with a game.
The same back-end language can be used easily for simple or complex AI implementations.
Main features:
- XML specification with DTD validation for game definition
- Easy-to-learn Python programming for rule implementation
- Integrated and transparent network play
- Network chat with selected players
- Simple interface for programming AI players
- Extensive support for image formats
- Runtime scaling of images, allowing easy application of anything as gamepiece
Games currently implemented:
- Chess
- Go
Enhancements:
- This release includes the data archive with correct licensing information for the Fergus Duniho abstract chess piece set.
Download (MB)
Added: 2007-04-13 License: GPL (GNU General Public License) Price:
931 downloads
XML::ValidWriter 0.39
XML::ValidWriter is DOCTYPE driven valid XML output. more>>
XML::ValidWriter is DOCTYPE driven valid XML output.
SYNOPSIS
## As a normal perl object:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => *FH
) ;
$writer->startTag( b1 ) ;
$writer->startTag( c2 ) ;
$writer->end ;
## Writing to a scalar:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => $buf
) ;
## Or, in scripting mode:
use XML::Doctype NAME => a, SYSTEM_ID => a.dtd ;
use XML::ValidWriter qw( :all :dtd_tags ) ;
b1 ; # Emits < a >< b1 >
c2( attr=>"val" ) ; # Emits < /b1 >< b2 >< c2 attr="val" >
endAllTags ; # Emits < /c2 >< /b2 >< /a >
## If youve got an XML::Doctype object handy:
use XML::ValidWriter qw( :dtd_tags ), DOCTYPE => $doctype ;
## If youve saved a preparsed DTD as a perl module
use FooML::Doctype::v1_0001 ;
use XML::ValidWriter qw( :dtd_tags ) ;
#
# This all assumes that the DTD contains:
#
# < !ELEMENT a ( b1, b2?, b3* ) >
#
# < !ELEMENT b1 ( c1 ) >
# < !ELEMENT b2 ( c2 ) >
#
STATUS
Alpha. Use and patch, dont depend on things not changing drastically.
Many methods supplied by XML::Writer are not yet supplied here.
<<lessSYNOPSIS
## As a normal perl object:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => *FH
) ;
$writer->startTag( b1 ) ;
$writer->startTag( c2 ) ;
$writer->end ;
## Writing to a scalar:
$writer = XML::ValidWriter->new(
DOCTYPE => $xml_doc_type,
OUTPUT => $buf
) ;
## Or, in scripting mode:
use XML::Doctype NAME => a, SYSTEM_ID => a.dtd ;
use XML::ValidWriter qw( :all :dtd_tags ) ;
b1 ; # Emits < a >< b1 >
c2( attr=>"val" ) ; # Emits < /b1 >< b2 >< c2 attr="val" >
endAllTags ; # Emits < /c2 >< /b2 >< /a >
## If youve got an XML::Doctype object handy:
use XML::ValidWriter qw( :dtd_tags ), DOCTYPE => $doctype ;
## If youve saved a preparsed DTD as a perl module
use FooML::Doctype::v1_0001 ;
use XML::ValidWriter qw( :dtd_tags ) ;
#
# This all assumes that the DTD contains:
#
# < !ELEMENT a ( b1, b2?, b3* ) >
#
# < !ELEMENT b1 ( c1 ) >
# < !ELEMENT b2 ( c2 ) >
#
STATUS
Alpha. Use and patch, dont depend on things not changing drastically.
Many methods supplied by XML::Writer are not yet supplied here.
Download (0.028MB)
Added: 2006-09-13 License: Perl Artistic License Price:
1137 downloads
XML Copy Editor 1.1.0.1
XML Copy Editor is an XML editor with DTD/XML Schema/RELAX NG validation. more>>
XML Copy Editor is an XML editor with DTD/XML Schema/RELAX NG validation, XSLT, XPath, pretty-printing, syntax highlighting, folding, tag completion/locking and lossless import/export of Microsoft Word documents.
Enhancements:
- This release fixes a number of bugs and introduces support for CSS.
<<lessEnhancements:
- This release fixes a number of bugs and introduces support for CSS.
Download (3.9MB)
Added: 2007-08-17 License: GPL (GNU General Public License) Price:
866 downloads
GETOX 0.1.1
GETOX is a XML text editor. more>>
GETOX is a project developped by IDEALX. This software aims at giving users the ability to write XML files without having advanced knowledge of XML concepts.
It should also allow users to produce valid documents at any time. GETOX is a free software, and is released under the GNU General Public License.
Main features:
File manipulation:
- Open/Close/Save XML files including parsing of the associated DTD
- Creation of a new XML file generated from a DTD
Text manipulation
- The main goal of GETOX is to manipulate XML file as if it was a simple text file.
Right now, users can:
- Add and remove tags according to the DTD
- Edit text in #pcdata
- Move across the text using arrows
- Cut and Paste text from widgets to X clipboard
- Choose encoding of some XML parameters
- Modify path to DTD
- Modify look & feel of getox_canvas
<<lessIt should also allow users to produce valid documents at any time. GETOX is a free software, and is released under the GNU General Public License.
Main features:
File manipulation:
- Open/Close/Save XML files including parsing of the associated DTD
- Creation of a new XML file generated from a DTD
Text manipulation
- The main goal of GETOX is to manipulate XML file as if it was a simple text file.
Right now, users can:
- Add and remove tags according to the DTD
- Edit text in #pcdata
- Move across the text using arrows
- Cut and Paste text from widgets to X clipboard
- Choose encoding of some XML parameters
- Modify path to DTD
- Modify look & feel of getox_canvas
Download (0.47MB)
Added: 2005-08-11 License: GPL (GNU General Public License) Price:
1534 downloads
AnyData::Format::XML 0.10
AnyData::Format::XML is a Perl module for tiedhash and DBI access to XML. more>>
AnyData::Format::XML is a Perl module for tiedhash and DBI access to XML.
SYNOPSIS
# access XML data via a multi-dimensional tied hash
# see AnyData.pod for full details
#
use AnyData;
my $table = adTie( XML, $file, $mode, $flags );
OR
# convert data to and from XML
# see AnyData.pod for full details
#
use AnyData;
adConvert( XML, $file1, $any_other_format, $file2, $flags );
adConvert( $any_other_format, $file1, XML, $file2, $flags );
OR
# access the data via DBI and SQL
# see DBD::AnyData.pod for full details
#
use DBI;
my $dbh = DBI->connect( dbi:AnyData );
$dbh->func(mytable,XML,$file,$flags,ad_catalog);
See below for a description of the optional flags that apply to all of these examples.
This module allows you to create, search, modify and/or convert XML data and files by treating them as databases without having to actually create separate database files. The data can be accessed via a multi-dimensional tiedhash using AnyData.pm or via DBI and SQL commands using DBD::AnyData.pm. See those modules for complete details of usage.
The module is built on top of Michel Rodriguezs excellent XML::Twig which means that the AnyData interfaces can now include information from DTDs, be smarter about inferring data structure, reduce memory consumption on huge files, and provide access to many powerful features of XML::Twig and XML::Parser on which it is based.
Importing options allow you to import/access/modify XML of almost any length or complexity. This includes the ability to access different subtrees as separate or joined databases.
Exporting and converting options allow you to take data from almost any source (a perl array, any DBI database, etc.) and output it as an XML file. You can control the formating of the resulting XML either by supplying a DTD listing things like nesting of tags and which columns should be output as attributes and/or you can use XML::Twig pretty_print settings to generate half a dozen different levels of compactness or whitespace in how the XML looks.
The documentaion below outlines the special flags that can be used in either of the interfaces to fine-tune how the XML is treated.
The flags listed below define the relationship between tags and attributes in the XML document and columns in the resulting database. In many cases, you can simply accept the defaults and the database will be built automatically. However, you can also fine tune the generation of the database by specifying which tags and attributes you are interested in and their relationship with database columns.
<<lessSYNOPSIS
# access XML data via a multi-dimensional tied hash
# see AnyData.pod for full details
#
use AnyData;
my $table = adTie( XML, $file, $mode, $flags );
OR
# convert data to and from XML
# see AnyData.pod for full details
#
use AnyData;
adConvert( XML, $file1, $any_other_format, $file2, $flags );
adConvert( $any_other_format, $file1, XML, $file2, $flags );
OR
# access the data via DBI and SQL
# see DBD::AnyData.pod for full details
#
use DBI;
my $dbh = DBI->connect( dbi:AnyData );
$dbh->func(mytable,XML,$file,$flags,ad_catalog);
See below for a description of the optional flags that apply to all of these examples.
This module allows you to create, search, modify and/or convert XML data and files by treating them as databases without having to actually create separate database files. The data can be accessed via a multi-dimensional tiedhash using AnyData.pm or via DBI and SQL commands using DBD::AnyData.pm. See those modules for complete details of usage.
The module is built on top of Michel Rodriguezs excellent XML::Twig which means that the AnyData interfaces can now include information from DTDs, be smarter about inferring data structure, reduce memory consumption on huge files, and provide access to many powerful features of XML::Twig and XML::Parser on which it is based.
Importing options allow you to import/access/modify XML of almost any length or complexity. This includes the ability to access different subtrees as separate or joined databases.
Exporting and converting options allow you to take data from almost any source (a perl array, any DBI database, etc.) and output it as an XML file. You can control the formating of the resulting XML either by supplying a DTD listing things like nesting of tags and which columns should be output as attributes and/or you can use XML::Twig pretty_print settings to generate half a dozen different levels of compactness or whitespace in how the XML looks.
The documentaion below outlines the special flags that can be used in either of the interfaces to fine-tune how the XML is treated.
The flags listed below define the relationship between tags and attributes in the XML document and columns in the resulting database. In many cases, you can simply accept the defaults and the database will be built automatically. However, you can also fine tune the generation of the database by specifying which tags and attributes you are interested in and their relationship with database columns.
Download (0.043MB)
Added: 2006-09-13 License: Perl Artistic License Price:
1137 downloads
XML::DOM::DocumentType 1.44
XML::DOM::DocumentType is an XML document type (DTD) in XML::DOM. more>>
XML::DOM::DocumentType is an XML document type (DTD) in XML::DOM.
XML::DOM::DocumentType extends XML::DOM::Node.
Each Document has a doctype attribute whose value is either null or a DocumentType object. The DocumentType interface in the DOM Level 1 Core provides an interface to the list of entities that are defined for the document, and little else because the effect of namespaces and the various XML scheme efforts on DTD representation are not clearly understood as of this writing. The DOM Level 1 doesnt support editing DocumentType nodes.
Not In DOM Spec: This implementation has added a lot of extra functionality to the DOM Level 1 interface. To allow editing of the DocumentType nodes, see XML::DOM::ignoreReadOnly.
<<lessXML::DOM::DocumentType extends XML::DOM::Node.
Each Document has a doctype attribute whose value is either null or a DocumentType object. The DocumentType interface in the DOM Level 1 Core provides an interface to the list of entities that are defined for the document, and little else because the effect of namespaces and the various XML scheme efforts on DTD representation are not clearly understood as of this writing. The DOM Level 1 doesnt support editing DocumentType nodes.
Not In DOM Spec: This implementation has added a lot of extra functionality to the DOM Level 1 interface. To allow editing of the DocumentType nodes, see XML::DOM::ignoreReadOnly.
Download (0.11MB)
Added: 2006-07-17 License: Perl Artistic License Price:
1194 downloads
Garden 0.5.0
Garden is a dependency injection for PHP5. more>>
Garden is a dependency injection for PHP5.
Inspired by Spring Framework, it uses XML application context with syntax as similar as possible to Spring context definitions.
Kickstarter
Create example.xml file like this (dont forget to put garden-beans.dtd next to it!):
< ?xml version="1.0" encoding="UTF-8"? >
< !DOCTYPE beans PUBLIC "-//GARDEN//DTD BEAN//EN" "garden-beans.dtd" >
< beans default-lazy-init="true" >
< bean id="dog" class="Dog" file="ext/Dog.php" >
< property name="collar" >
< ref local="dogCollar"/ >
< /property >
< /bean >
< bean id="dogCollar" class="Collar" file="ext/Dog/Collar.php" >
< property name="spiked" value="true"/ >
< /bean >
< /beans >
etx/Dog.php contains:
class Dog
{
private $collar;
public function setCollar($collar)
{
$this->collar = $collar;
}
public function getCollar()
{
return $this->collar;
}
}
etx/Dog/Collar.php contains:
class Collar
{
private $spiked;
public function setSpiked($spiked)
{
$this->spiked = $spiked;
}
public function getSpiked()
{
return $this->spiked;
}
}
<<lessInspired by Spring Framework, it uses XML application context with syntax as similar as possible to Spring context definitions.
Kickstarter
Create example.xml file like this (dont forget to put garden-beans.dtd next to it!):
< ?xml version="1.0" encoding="UTF-8"? >
< !DOCTYPE beans PUBLIC "-//GARDEN//DTD BEAN//EN" "garden-beans.dtd" >
< beans default-lazy-init="true" >
< bean id="dog" class="Dog" file="ext/Dog.php" >
< property name="collar" >
< ref local="dogCollar"/ >
< /property >
< /bean >
< bean id="dogCollar" class="Collar" file="ext/Dog/Collar.php" >
< property name="spiked" value="true"/ >
< /bean >
< /beans >
etx/Dog.php contains:
class Dog
{
private $collar;
public function setCollar($collar)
{
$this->collar = $collar;
}
public function getCollar()
{
return $this->collar;
}
}
etx/Dog/Collar.php contains:
class Collar
{
private $spiked;
public function setSpiked($spiked)
{
$this->spiked = $spiked;
}
public function getSpiked()
{
return $this->spiked;
}
}
Download (0.078MB)
Added: 2006-05-16 License: The Apache License 2.0 Price:
1256 downloads
ETTERLOG 1.0
Etterlog is the log analyzer for logfiles created by ettercap. more>>
ETTERLOG is a utility for Network Lan (SWITCH) for file .ECI and .ECP.
(Ettercap program).
Etterlog is the log analyzer for logfiles created by ettercap. It can handle both compressed (created with -Lc) or uncompressed logfiles. With this tool you can manipulate binary files as you like and you can print data in different ways all the times you want (in contrast with the previous logging system which was used to dump in a single static manner).
You will be able to dump traffic from only one connection of your choice, from only one or more hosts, print data in hex, ascii, binary etc... TIP: All unuseful messages are printed to stderr, so you can save the output from etterlog with the following command:
etterlog [options] logfile > outfile Thus you can dump for example a binary file from an ftp connection if you print the data in binary mode, without headers and selecting only the ftp server as the source of the communication.
GENERAL OPTIONS
-a, --analyze Analyze a log file and display some interesting statistics.
-c, --connections Parse the log file and print a table of unique connections (port to port). This option can be used only on LOG_PACKET logfiles. On LOG_INFO logfiles it is useless. TIP: you can search for a particular host by using the following command: etterlog -c logfile.ecp | grep 10.0.0.1
-f, --filter < TARGET > Print only packets coming from or going to TARGET. The TARGET specification is the same as in ettercap.
TARGET is in the form MAC/IPs/PORTs. Omitting one or more of its parts will be equivalent to set them to ANY. If the log type is LOG_INFO the target is used to display hosts matching the mac, ip and having the specified port(s) open. For example the target //80 will display only information about hosts with a running web server.
-r, --reverse Reverse the matching in the TARGET selection. It means not(TARGET). All but the selected TARGET.
-t, --proto < PROTO > Sniff only PROTO packets (default is TCP + UDP). This option is only useful in "simple" mode. If you start ettercap in interactive mode both TCP and UDP are sniffed.
PROTO can be "tcp", "udp" or "all" for both.
-F, --filcon < CONNECTION > Print packets belonging only to this CONNECTION.
CONNECTION is in the form PROTO:SOURCE:DEST. SOURCE and DEST are in the form IP:PORT. example: etterlog -F TCP:10.0.0.23:3318:198.182.196.56:80
-s, --only-source Display only packets that are sent by the source of the selected CONNECTION. This option makes sense only in conjunction with the -F option. TIP: if you want to save a file transferred in an HTTP or FTP connection, you can use the following command: etterlog -B -s -n -F TCP:10.0.0.1:20:10.0.0.2:35426 logfile.ecp > example.tar.gz
-d, --only-dest Same as --only-source but it filters on the destination host.
-n, --no-headers Do not print the header of each packet. This option is useful if you want to save a file in binary format (-B option). Without the headers you can redirect the output to a file and you will get the original stream. NOTE: the time stamp in the header is in the form: Thu Mar 27 23:03:31 2003 [169396], the value in the square brackets is expressed in microseconds
-m, --show-mac In the headers show also the mac addresses corresponding to the ip addresses.
-k, --color If used in conjunction with -F it displays the source and dest of the connection using different colors. If used with a LOG_INFO file it prints LAN hosts in green, REMOTE hosts in blue and GATEWAYS in red.
-l, --only-local Used displaying an INFO file, it displays information only about local hosts.
-L, --only-remote Used displaying an INFO file, it displays information only about remote hosts.
SEARCH OPTIONS
-e, --regex < REGEX > Display only packets matching the regex < REGEX >.
If this option is used agains a LOG_PACKET logfile, the regex is executed on the payload of the packet. If the type is LOG_INFO, the regex is executed on all the fields of the host profile (OS, banners, service and ethernet adapter).
NOTE: the regex is compiled with the REG_ICASE flag (case insensitive).
-u, --user < USER > Display information about this user. The search is performed over all the user/pass couples collected across all hosts.
-p, --passwords Print only the collected account information for each host. This prevents the huge profile output. It can be used in conjunction with the -u option to filter the users. An asterisk * used in front of an account represents a failed login attempt.
-i, --show-client Show the client ip address when displaying the collected users and passwords. It may be useful when ACLs are in place.
-I, --client < IP > Show passwords only coming from a specific < IP >. This is useful to view all the usernames and passwords of a client.
EDITING OPTIONS
-C, --concat Use this option to concatenate two (or more) files into one single file. This is useful if you have collected ettercap log files from multiple sources and want to have an unified report. The output file must be specified with the -o option and the input files are listed as normal arguments. example:
etterlog -C -o outfile input1 input2 input3
-o, --outfile < FILE > specifies the output file for a concatenation.
VISUALIZATION METHOD
-B, --binary Print data as they are, in binary form. Useful to dump binary data to a file (as described above).
-X, --hex Print the packets in hex format. example: the string "HTTP/1.1 304 Not Modified" becomes: 0000: 4854 5450 2f31 2e31 2033 3034 204e 6f74 HTTP/1.1 304 Not
0010: 204d 6f64 6966 6965 64 Modified
-A, --ascii Print only "printable" characters, the others are displayed as dots .
-T, --text Print only the "printable" characters and skip the others.
-E, --ebcdic Convert an EBCDIC text to ASCII.
-H, --html Strip all html tags from the text. A tag is every string between < and >. example: < title >This is the title< /title >, but the following < string > will not be displayed. This is the title, but the following will not be displayed.
-U, --utf8 < encoding > Print the packets in UTF-8 format. The < encoding > parameter specifies the encoding to be used while performing the conversion. Use the `iconv --list` command to obtain a list of all supported encodings.
-Z, --zero Print always the void string. i.e. print only header information and no packet content will be printed.
-x, --xml Print the host information in xml form, so you can parse it with your favourite program. The DTD associated with the xml output is in share/etterlog.dtd
STANDARD OPTIONS
-v, --version Print the version and exit.
-h, --help Print the help screen with a short summary of the available options.
EXAMPLES
Here are some examples of using etterlog.
etterlog -k -l dump.eci
Displays information about local hosts in different colors.
etterlog -X dump.ecp
Prints packets in HEX mode with full headers.
etterlog -c dump.ecp
Displays the list of connections logged in the file.
etterlog -Akn -F TCP:10.0.0.1:13423:213.203.143.52:6666 dump.ecp
Displays the IRC traffic made by 10.0.0.1 in ASCII mode, without headers information and in colored mode.
etterlog -H -t tcp -f //80 dump.ecp
Dumps all HTTP traffic and strips html tags.
etterlog -Z -r -f /10.0.0.2/22 dump.ecp
Displays only the headers of all connections except ssh on host 10.0.0.2
etterlog -A -e user -f //110 dump.ecp
Displays only POP packets containing the user regexp (case insensitive).
etterlog -u root dump.eci
Displays information about all the accounts of the user root.
etterlog -e Apache dump.eci
Displays information about all the hosts running Apache.
etterlog -e Linux dump.eci
Displays information about all the hosts with the Linux operating system.
etterlog -t tcp -f //110 dump.eci
Displays information about all the hosts with the tcp port 110 open.
etterlog -t udp dump.eci
Displays information about all the hosts with at least one UDP port open.
etterlog -B -s -n -F TCP:10.0.0.1:20:10.0.0.2:35426 logfile.ecp > example.tar.gz
Dumps in binary form the data sent by 10.0.0.1 over the data port of FTP. Since the headers are omitted, you will get the file as it was.
<<less(Ettercap program).
Etterlog is the log analyzer for logfiles created by ettercap. It can handle both compressed (created with -Lc) or uncompressed logfiles. With this tool you can manipulate binary files as you like and you can print data in different ways all the times you want (in contrast with the previous logging system which was used to dump in a single static manner).
You will be able to dump traffic from only one connection of your choice, from only one or more hosts, print data in hex, ascii, binary etc... TIP: All unuseful messages are printed to stderr, so you can save the output from etterlog with the following command:
etterlog [options] logfile > outfile Thus you can dump for example a binary file from an ftp connection if you print the data in binary mode, without headers and selecting only the ftp server as the source of the communication.
GENERAL OPTIONS
-a, --analyze Analyze a log file and display some interesting statistics.
-c, --connections Parse the log file and print a table of unique connections (port to port). This option can be used only on LOG_PACKET logfiles. On LOG_INFO logfiles it is useless. TIP: you can search for a particular host by using the following command: etterlog -c logfile.ecp | grep 10.0.0.1
-f, --filter < TARGET > Print only packets coming from or going to TARGET. The TARGET specification is the same as in ettercap.
TARGET is in the form MAC/IPs/PORTs. Omitting one or more of its parts will be equivalent to set them to ANY. If the log type is LOG_INFO the target is used to display hosts matching the mac, ip and having the specified port(s) open. For example the target //80 will display only information about hosts with a running web server.
-r, --reverse Reverse the matching in the TARGET selection. It means not(TARGET). All but the selected TARGET.
-t, --proto < PROTO > Sniff only PROTO packets (default is TCP + UDP). This option is only useful in "simple" mode. If you start ettercap in interactive mode both TCP and UDP are sniffed.
PROTO can be "tcp", "udp" or "all" for both.
-F, --filcon < CONNECTION > Print packets belonging only to this CONNECTION.
CONNECTION is in the form PROTO:SOURCE:DEST. SOURCE and DEST are in the form IP:PORT. example: etterlog -F TCP:10.0.0.23:3318:198.182.196.56:80
-s, --only-source Display only packets that are sent by the source of the selected CONNECTION. This option makes sense only in conjunction with the -F option. TIP: if you want to save a file transferred in an HTTP or FTP connection, you can use the following command: etterlog -B -s -n -F TCP:10.0.0.1:20:10.0.0.2:35426 logfile.ecp > example.tar.gz
-d, --only-dest Same as --only-source but it filters on the destination host.
-n, --no-headers Do not print the header of each packet. This option is useful if you want to save a file in binary format (-B option). Without the headers you can redirect the output to a file and you will get the original stream. NOTE: the time stamp in the header is in the form: Thu Mar 27 23:03:31 2003 [169396], the value in the square brackets is expressed in microseconds
-m, --show-mac In the headers show also the mac addresses corresponding to the ip addresses.
-k, --color If used in conjunction with -F it displays the source and dest of the connection using different colors. If used with a LOG_INFO file it prints LAN hosts in green, REMOTE hosts in blue and GATEWAYS in red.
-l, --only-local Used displaying an INFO file, it displays information only about local hosts.
-L, --only-remote Used displaying an INFO file, it displays information only about remote hosts.
SEARCH OPTIONS
-e, --regex < REGEX > Display only packets matching the regex < REGEX >.
If this option is used agains a LOG_PACKET logfile, the regex is executed on the payload of the packet. If the type is LOG_INFO, the regex is executed on all the fields of the host profile (OS, banners, service and ethernet adapter).
NOTE: the regex is compiled with the REG_ICASE flag (case insensitive).
-u, --user < USER > Display information about this user. The search is performed over all the user/pass couples collected across all hosts.
-p, --passwords Print only the collected account information for each host. This prevents the huge profile output. It can be used in conjunction with the -u option to filter the users. An asterisk * used in front of an account represents a failed login attempt.
-i, --show-client Show the client ip address when displaying the collected users and passwords. It may be useful when ACLs are in place.
-I, --client < IP > Show passwords only coming from a specific < IP >. This is useful to view all the usernames and passwords of a client.
EDITING OPTIONS
-C, --concat Use this option to concatenate two (or more) files into one single file. This is useful if you have collected ettercap log files from multiple sources and want to have an unified report. The output file must be specified with the -o option and the input files are listed as normal arguments. example:
etterlog -C -o outfile input1 input2 input3
-o, --outfile < FILE > specifies the output file for a concatenation.
VISUALIZATION METHOD
-B, --binary Print data as they are, in binary form. Useful to dump binary data to a file (as described above).
-X, --hex Print the packets in hex format. example: the string "HTTP/1.1 304 Not Modified" becomes: 0000: 4854 5450 2f31 2e31 2033 3034 204e 6f74 HTTP/1.1 304 Not
0010: 204d 6f64 6966 6965 64 Modified
-A, --ascii Print only "printable" characters, the others are displayed as dots .
-T, --text Print only the "printable" characters and skip the others.
-E, --ebcdic Convert an EBCDIC text to ASCII.
-H, --html Strip all html tags from the text. A tag is every string between < and >. example: < title >This is the title< /title >, but the following < string > will not be displayed. This is the title, but the following will not be displayed.
-U, --utf8 < encoding > Print the packets in UTF-8 format. The < encoding > parameter specifies the encoding to be used while performing the conversion. Use the `iconv --list` command to obtain a list of all supported encodings.
-Z, --zero Print always the void string. i.e. print only header information and no packet content will be printed.
-x, --xml Print the host information in xml form, so you can parse it with your favourite program. The DTD associated with the xml output is in share/etterlog.dtd
STANDARD OPTIONS
-v, --version Print the version and exit.
-h, --help Print the help screen with a short summary of the available options.
EXAMPLES
Here are some examples of using etterlog.
etterlog -k -l dump.eci
Displays information about local hosts in different colors.
etterlog -X dump.ecp
Prints packets in HEX mode with full headers.
etterlog -c dump.ecp
Displays the list of connections logged in the file.
etterlog -Akn -F TCP:10.0.0.1:13423:213.203.143.52:6666 dump.ecp
Displays the IRC traffic made by 10.0.0.1 in ASCII mode, without headers information and in colored mode.
etterlog -H -t tcp -f //80 dump.ecp
Dumps all HTTP traffic and strips html tags.
etterlog -Z -r -f /10.0.0.2/22 dump.ecp
Displays only the headers of all connections except ssh on host 10.0.0.2
etterlog -A -e user -f //110 dump.ecp
Displays only POP packets containing the user regexp (case insensitive).
etterlog -u root dump.eci
Displays information about all the accounts of the user root.
etterlog -e Apache dump.eci
Displays information about all the hosts running Apache.
etterlog -e Linux dump.eci
Displays information about all the hosts with the Linux operating system.
etterlog -t tcp -f //110 dump.eci
Displays information about all the hosts with the tcp port 110 open.
etterlog -t udp dump.eci
Displays information about all the hosts with at least one UDP port open.
etterlog -B -s -n -F TCP:10.0.0.1:20:10.0.0.2:35426 logfile.ecp > example.tar.gz
Dumps in binary form the data sent by 10.0.0.1 over the data port of FTP. Since the headers are omitted, you will get the file as it was.
Download (0.11MB)
Added: 2006-02-01 License: GPL (GNU General Public License) Price:
1367 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above dtd search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed