RE: Do characters <> cause problem with XML::Records?
by Sterin, Ilya other posts by this author
Jul 10 2001 5:49PM messages near this date
view in the new Beta List Site
Re: Getting XML::Twig to ignore certain elements?
|
Do characters <> cause problem with XML::Records?
< > are illegal character in the tag content. Use the equivalent < > to
replace them, then it will not complain. You can only use them in CDATA
sections.
Ilya
-----Original Message-----
From: Prem M
To: perl-xml@[...].com
Sent: 07/10/2001 11:43 AM
Subject: Do characters <> cause problem with XML::Records?
Hello,
On using XML::Records on
------------------xml file-------------------
<records>
<record>
<Version> 1</Version>
<RunType> sync</RunType>
<Expected> <>0</Expected>
<Program_Params> test.bat</Program_Params>
</record>
</records>
------------------xml file-------------------
displays... "not well-formed at line 5, column 13, byte 83 at
C:/Perl/site/lib/XML/Records.pm line 131"
The same happens for <Expected> "<>0"</Expected>
(<> are quoted in this case)
Are charaters <> not allowed?
Thanks in advance
Prem
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-xml
|