Name : perl-XML-DTDParser
| |
Version : 2.10.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-08-06 22:36:34
|
Group : Unspecified
| Source RPM : perl-XML-DTDParser-2.10.0-lp156.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Quick and dirty DTD parser
|
Description :
This module parses a DTD file and creates a data structure containing info about all tags, their allowed parameters, children, parents, optionality etc. etc. etc.
Since I\'m too lazy to document the structure, parse a DTD you need and print the result to a file using Data::Dumper. The datastructure should be selfevident.
Note: The module should be able to parse just about anything, but it intentionaly looses some information. Eg. if the DTD specifies that a tag should contain either CHILD1 or CHILD2 you only get that CHILD1 and CHILD2 are optional. That is is the DTD contains < !ELEMENT FOO (BAR|BAZ)> the result will be the same is if it contained < !ELEMENT FOO (BAR?,BAZ?)>
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.6/noarch |