ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
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 &lt &gt 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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved