[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ecs-user
Subject:    Re: Closing empty elements with /> on the Start tag
From:       Stephan Nagy <snagy () sbcglobal ! net>
Date:       2002-08-09 23:27:30
[Download RAW message or body]

For xml documents it should change it to <start/> on html elements it would
be <start>

-stephan

----- Original Message -----
From: "O'Dell, Judy" <judy.odell@eds.com>
To: "'ECS Users List'" <ecs-user@jakarta.apache.org>
Sent: Friday, August 09, 2002 9:11 AM
Subject: RE: Closing empty elements with /> on the Start tag


> Just curious - Does using the setNeedClosingTag(false); change (for
example)
> <start></start> into <start /> or just <start>?
>
> -----Original Message-----
> From: Stephan Nagy [mailto:snagy@sbcglobal.net]
> Sent: Thursday, August 08, 2002 7:35 PM
> To: ECS Users List
> Subject: Re: Closing empty elements with /> on the Start tag
>
>
> just call setNeedClosingTag(false);
>
> -stephan
>
> ----- Original Message -----
> From: "Peter A. Cassetta" <pete@fingertipsoft.com>
> To: <ecs-user@jakarta.apache.org>
> Sent: Thursday, August 08, 2002 11:30 AM
> Subject: Closing empty elements with /> on the Start tag
>
>
> > The XML being generated by ECS is quite bulky due to many unnecessary
> closing
> > tags.
> >
> > My file uses a lot of attribute-only tags:
> >
> > 1. <start attr1="value" attr2="value"/>
> >
> > When I output via ECS I get:
> >
> > 2. <start attr1="value" attr2="value"></start>
> >
> > Is there an easy way to have empty elements automatically closed by just
> > prepending "/" before closing the opening tag (as in "1" above)?
> >
> > Thanks.
> >
> > Pete Cassetta
> >
> > --
> > To unsubscribe, e-mail:
<mailto:ecs-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
<mailto:ecs-user-help@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:ecs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ecs-user-help@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:   <mailto:ecs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ecs-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:ecs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ecs-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic