代码拉取完成,页面将自动刷新
NAME Test::XML::Element - Test the properties a single XML element in isolation. VERSION 0.01 SYNOPSIS use Test::XML::Element tests => 4; element_is('<foobar />', "foobar") has_attribute('<foobar color="red" />', 'color'); attribute_has_value('<foobar color="red">', color => 'red'); DESCRIPTION This module allows you to test the properties of a single XML element on it's own, which may be useful if your module does XML generation. TESTS element_is $element, $name, [$message] Test that an element is of the correct type. has_attribute $element, $attribute, [$message] Check that an element has a certain attribute attribute_has_value $element, $attribute, $value, [$message] Check that an attribute has a certain attribute, and it is set to a certain value. AUTHOR Oliver Charles "oliver.g.charles@googlemail.com" COPYRIGHT Copyright 2009 Oliver Charles This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。