[ZPT] HELP XML , ZPT ESCAPE SEQUENCE FOR '<'

jprakash13 at netscape.net jprakash13 at netscape.net
Sun Apr 4 19:08:22 EDT 2004


whenever i test this page text/xml zpt page an RSS feed
 ----
     <item tal:repeat="item options/feature">
    <postdate tal:content="item/post_date"> Date Comes here </postdate>
    <head tal:replace="python:here.removeHtml('<text')">Head Comes here</head>

---

removeHtml python script takes "<text" and removes any symbols < and > , but even before this script is called , when i test the above page it throws this error

Only one top level element is allowed in an XML document. Error processing resource 'http://stage.ebizq.net/newsite/prakashtest/rssfeed'. Line 3, Position 6 

    <p>
-----^

is this a bug or is there any escape sequence so that it can passed to the python script.

"Help urgent"


Thanks 
prakash

__________________________________________________________________
Introducing the New Netscape Internet Service. 
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need. 

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp



More information about the ZPT mailing list