Net-Domain-TMCH
view release on metacpan or search on metacpan
examples/smd-templ.pl view on Meta::CPAN
# Describing complex smd:signedMark
# {urn:ietf:params:xml:ns:signedMark-1.0}signedMark
#
# Produced by XML::Compile::Translate::Template version undef
# on Wed Dec 30 16:32:17 2015
#
# BE WARNED: in most cases, the example below cannot be used without
# interpretation. The comments will guide you.
#
# xmlns:ds http://www.w3.org/2000/09/xmldsig#
# xmlns:mark urn:ietf:params:xml:ns:mark-1.0
# xmlns:smd urn:ietf:params:xml:ns:signedMark-1.0
# is a smd:signedMarkType
{ # is a xsd:ID
# attribute id is required
id => "id_0",
# sequence of smd_id, smd_issuerInfo, smd_notBefore,
# smd_notAfter, abstractMark, ds_Signature
# is a xsd:token
# Pattern: \d+-\d+
smd_id => "token",
# is a smd:issuerInfoType
smd_issuerInfo =>
{ # is a xsd:token
# attribute issuerID is required
issuerID => "token",
# sequence of smd_org, smd_email, smd_url, smd_voice
# is a xsd:token
smd_org => "token",
# is a xsd:token
# length >= 1
smd_email => "token",
# is a xsd:token
# is optional
smd_url => "token",
# is a mark:e164Type
# smd_voice is simple value with attributes
# is optional
smd_voice =>
{ # is a xsd:token
# becomes an attribute
x => "token",
# is a xsd:token
# string content of the container
_ => "token", }, },
# is a xsd:dateTime
smd_notBefore => "2006-10-06T00:23:02Z",
# is a xsd:dateTime
smd_notAfter => "2006-10-06T00:23:02Z",
# substitutionGroup mark:abstractMark
# abstractMark mark:abstractMarkType (abstract)
# mark mark:markType
abstractMark => { mark => {...} },
# is a ds:SignatureType
ds_Signature =>
{ # is a xsd:ID
( run in 0.596 second using v1.01-cache-2.11-cpan-71847e10f99 )