Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> perl >> libxml-dtdparser-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libxml-dtdparser-perl  ]

套件: libxml-dtdparser-perl (2.01-5)

perl module providing a quick and dirty DTD parser

XML::DTDParser parses a DTD file and creates a data structure containing info about all tags, their allowed parameters, children, parents, optionality etc.

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 the DTD contains

<!ELEMENT FOO (BAR|BAZ)> the result will be the same is if it contained

<!ELEMENT FOO (BAR?,BAZ?)>

You get the original unparsed parameter list as well so if you need this information you may parse it yourself.

其他與 libxml-dtdparser-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libxml-dtdparser-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 9.4 kB28 kB [文件列表]