Re: Perl and XML::Simple

2004-07-22 Thread Philipp Traeder
On Monday 19 July 2004 HH:04:06, David Arnold wrote: > All Good morning, > > I tried to run this: > [..] > my $resp_xml=XMLin('./Responses.xml',forcearray=>1); > > print Dumper $resp_xml; > > On this file: > > [EMAIL PROTECTED] perlxml]# cat -A Responses.xml > > And I got this error message: >

RE: Perl and XML::Simple

2004-07-19 Thread Hanson, Rob
> This isn't well-formed XML. The n=3 must be n="3". All attributes in XML must be quoted, either single-quotes or double-quotes. Rob -Original Message- From: David Arnold [mailto:[EMAIL PROTECTED] Sent: Monday, July 19, 2004 2:04 AM To: [EMAIL PROTECTED] Sub

Perl and XML::Simple

2004-07-18 Thread David Arnold
All I tried to run this: #! /usr/local/bin/perl -w # File: Responses.pl use strict; use warnings; # Import the SML::Simple module use XML::Simple; use Data::Dumper; # Turn the file into a has reference, using XML::Simples' "XMLin" # subroutine. We'll also turn on the 'forcearray' option, so th