Hello,

I am thinking about using ECS to help me piece some XML together and I have a few 
basic questions:

1. The schema for the XML that I need to create has its own elements (e.g. <Parent>, 
<Child>). ECS does not support that, of course. I would have to write something like:

XML parentElem = new XML("Parent");
parentElem.addElement("Child");
So my question is: What does using ECS like this get me?  What is the advantage of 
this over, say, appending to a StringBuffer?
Is it less error prone?  Is it more efficient?  Does it result in a cleaner code?
Please don't take this question wrong, I just want to make the right decision, and for 
that I need to understand ECS better.

2. Is there any documentation about ECS other than the API javadocs?
http://jakarta.apache.org/ecs/ doesn't have much info.

3. I checked the mailing list archive and found mentions of ECS2, the rewrite.  I then 
checked its CVS repository in which most of the code was several months old.
So I am wondering what the status of ECS2 is?  Again, I just want to make the best 
decision, so I need to know whether I should go with ECS 1.4.1 or if it makes sense to 
wait for ECS2.

3. This is related to question #1 above.
Is the above code example the best way to create XML with custom elements?
Is there a way to extend certain (Element?) classes with a minimum amount of code and 
end up with better (cleaner, more elegant, more efficient, maintainable, flexible) 
code?
If this is the way to go, does anyone have an example?


Thank you,
Otis

_________________________________________________________________
iVillage.com: Solutions for Your Life 
Check out the most exciting women's community on the Web   
http://www.ivillage.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to