RE: How convert to codes automatically
"Robert Lowe" <[email protected]> Mon, 5 Apr 2004 23:23:49 +0800
| Newsgroups | gmane.comp.jakarta.ecs.user |
|---|---|
| Message-ID | <[email protected]> |
I understand you can edit the ecs.properties files and set the following two properties: filter_state=true filter_attribute_state=true The defaults are false. The ecs.properties file is inside the JAR file, so you need to extract a copy and put it on your classpath under org/apache/ecs/ecs.properties. This is a global setting. You can also turn it on for a single element by calling setFilterState(true). I have not tried this myself, but I understand it should work. Best regards, Robert Lowe http://RMLowe.com/ -----Original Message----- From: Jaison Freed [mailto:[email protected]] Sent: Monday, April 05, 2004 11:04 PM To: ECS Users List Subject: Re: How convert to codes automatically I agree. Does anyone know if ECS has the XML-Escaping functionality built-in? I have not looked at the source code yet, but would be happy to implement it if it's not already in there.... Jaison Freed FBS Data Systems, Inc. E-mail: [email protected] Phone: (701) 235-7300 x146 Fax: (701) 234-0224 ----- Original Message ----- From: "Jean-Francois LE BERRE" <[email protected]> To: <[email protected]> Sent: Saturday, April 03, 2004 7:13 PM Subject: How convert to codes automatically > Hi, > > How can I tell ECS to convert characters like < > & to their codes > &blabla; ? Is it possible to make it automatically? > > Thanks > > Jean-François > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]