VikashParijat has asked for the wisdom of the Perl Monks concerning the following question:
I have a problem. I write an XML file against the schema using XML::Compile:: Schema by providing a hash.
This hash is created by me from the database tables. The length specified in the schema file is less than the length of the string actually extracted from the table fields. Thus, it conflicts and throws an error.
So, now I want to write XML file which read schema and if the length of the text is more it should extract as mentioned in the schema file and write to XML and should not throw an error.
Somebody, Kindly help me on this!!!!
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Writing XML file according to schema with extracted text from string length
by planetscape (Chancellor) on Jan 09, 2009 at 07:07 UTC | |
by VikashParijat (Initiate) on Jan 09, 2009 at 07:23 UTC | |
by planetscape (Chancellor) on Jan 09, 2009 at 07:52 UTC | |
by VikashParijat (Initiate) on Jan 09, 2009 at 11:57 UTC | |
|
Re: Writing XML file according to schema with extracted text from string length
by Skeeve (Parson) on Jan 09, 2009 at 08:29 UTC |