[Xml-compile] Re: xs:choice question

DEIGNAN Ciaran C.DEIGNAN at rsd.com
Tue Sep 17 15:11:01 GMT 2013


Hi Mark,

Zipped schema and result of template() in attachment.

I have   XML-Compile version   1.37

Thanks for any pointers,
Ciaran

-----Original Message-----
From: Mark Overmeer [mailto:mark at overmeer.net] 
Sent: mardi 17 septembre 2013 16:46
To: DEIGNAN Ciaran
Cc: xml-compile at lists.scsys.co.uk
Subject: Re: [Xml-compile] Re: xs:choice question

* DEIGNAN Ciaran (C.DEIGNAN at rsd.com) [130917 14:18]:
> > Have your tried
> >    print $schema->template(PERL => "$yourns:contents");
> 
> I generated the template for the whole structure. For this extract it says
> It does say that the choice is optional...

The dump you show differs from what I expect, so maybe the example
template generator is broken.  Can you please send me the whole
schema?
-- 
Regards,

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gids_1.zip
Type: application/x-zip-compressed
Size: 2399 bytes
Desc: gids_1.zip
Url : http://lists.scsys.co.uk/pipermail/xml-compile/attachments/20130917/900efc09/gids_1.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gids_template.zip
Type: application/x-zip-compressed
Size: 1820 bytes
Desc: gids_template.zip
Url : http://lists.scsys.co.uk/pipermail/xml-compile/attachments/20130917/900efc09/gids_template.bin


More information about the Xml-compile mailing list