Questions tagged [xml-simple]

The "simple" libraries for working with XML in Ruby or Perl.

The Perl XML::Simple module or the XmlSimple Ruby gem.

111 questions
-1
votes
2 answers

Parse XML data and append a new element using XML::Simple

I'm using XML::Simple and XML::Dumper. I'm well aware of the issues surrounding the former module. If I could use an alternative library, I would. What I want to achieve is to load the XML, then append lines to it. This is my XML structure before…
Simon.
  • 1,886
  • 5
  • 29
  • 62
-1
votes
2 answers

Can I use XML::Simple with an in-memory string, rather than a file?

XML::Simple documentation says to initiate the data structure with an XML file, using XMLin('[FILENAME]') ... but I have an in-memory string. Can I use it directly, or do I need to save it to the filesystem and then load it into XMLin?
mblackwell8
  • 3,065
  • 3
  • 21
  • 23
-2
votes
2 answers

XML::Simple returns "Out of memory" error for large XMLs

This might take a while to explain, but I have a file (XMLList.txt) that contains the paths to multiple IDOC XMLs. The contents of the XMLList.txt look like…
Kaladin
  • 11
  • 3
-2
votes
2 answers

How to partition an inconsistent XML - Perl

Say how do you parse through this particular XML using perl A little background: I'm writing a perl script where I separate the XML(datamod) into two XML files. Example: Existing XML
Divox
  • 101
  • 6
-3
votes
3 answers

Perl, Remove XML node

Data.xml I have this piece of XML. I'm working on a script to append nodes…
Simon.
  • 1,886
  • 5
  • 29
  • 62
-4
votes
1 answer

Could not find ParserDetails.ini

could not find ParserDetails.ini in /reports/ie/lib/cpan/XML/SAX at /reports/ie/lib/cpan/XML/SAX.pm line 212 XML::SAX::do_warn('XML::SAX', 'could not find ParserDetails.ini in /reports/ie/lib/cpan/XML/...') called at…
imarchuang
  • 467
  • 7
  • 17
1 2 3 4 5 6 7
8