Re: Using __DATA__ with XML::LibXML

2017-06-23 Thread khalil zakaria Zemmoura
Hi, I didn't understand what you did with the package that you defined 'XML_Check' the use of the "SPECIAL LITERAL" _DATA_ is not clear since i didn't see any usage for it in the 'XML_Check' package. I mean you didn't use in it. I didn't try running the script but i can give you some hints to

Using __DATA__ with XML::LibXML

2017-06-22 Thread SSC_perl
I think I'm losing it. I'm trying to do something simple here but I can't get it to work. I'm using XML::LibXML to verify XML sitemaps and it's working fine with an external XSD file. However, I'd like to add the schema to a __DATA__ section so that I only need a single file.