Thanks Helma!
--- [EMAIL PROTECTED] wrote:
> Hi,
>
> > DOM is the Document Object Model, and it is part
> of Java's way of
> > handling XML. It is an object that represents XML
> as tree
> > structures in memory.
>
> the syntax would roughly be (absolutely not ok to
> just copy, paste and use):
>
> Document doc = new Document();
> doc.createElement("a");
> a.createAttribute("href");
> href.setValue("http://www.yahoo.com");
> a.setValue("http://www.yahoo.com");
>
> > The other thing to be wary of here is that, if you
> give people the
> > freedom to put what they want into a box like
> that, they can
> > go breaking things quite badly if you don't
> validate the input that they
> > are putting in.
>
> This is the underlying issue. First figure out if
> you really want them to do
> such things.
> If you do, is it an option to add a separate set of
> fields for them to add
> links (which then solves your problem).
> And if separate fields are not an option, try to
> figure out how the HTMLarea
> sample handles these issues.
> Finally: would it help to put the data between
> CDATA[ ] tags?
>
> Bye, Helma
>
>
---------------------------------------------------------------------
> 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]