Re: How convert to codes automatically

"Jaison Freed" <[email protected]> Mon, 5 Apr 2004 12:31:49 -0500
Newsgroups gmane.comp.jakarta.ecs.user
Message-ID <00c001c41b33$e0de65d0$1f52150c@jaisonf>
Robert,

Thanks for the info.  You are correct, I have verified that using
setFilterState(true) on an element will take care of the XML escaping on
output.


Jaison Freed
FBS Data Systems, Inc.
E-mail: [email protected]
Phone: (701) 235-7300 x146
Fax: (701) 234-0224

----- Original Message ----- 
From: "Robert Lowe" <[email protected]>
To: "ECS Users List" <[email protected]>
Sent: Monday, April 05, 2004 10:23 AM
Subject: RE: How convert to codes automatically


> 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]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]