[jdom-interest] RE: to you all

Judith Andres Judith.Andres at gmx.net
Tue Feb 13 23:52:46 PST 2001


You don't have to have access to cvs for that


----- Original Message -----
From: "de Grijs, Rudolf" <Rudolf.de_Grijs at softwareag.com>
To: "Jdom-Interest (E-mail)" <jdom-interest at jdom.org>
Sent: Wednesday, February 14, 2001 6:18 AM
Subject: [jdom-interest] RE: to you all

> Well that's a lot of reactions. Thank you all.
> setXMLFilter ...
> I was looking for this method, but I couldn't find it in the first place
> the 'b5-release'. But I now realize that you're referring to the current
> (not yet released) version. I shall have a look at it. BTW as far as I can
> see this is exactly what I need, so on the functional level it's not that
> different (I think).
> Element.getDocument()
> The current implementation looks like this
>         if (this.isRootElement()) {
>             return this.document;
>         }
>         if (this.getParent() != null) {
>             return this.getParent().getDocument();
>         }
>         return null;
> I was wondering why a recursive call is used to get to document. Isn't it
> possible to set document for every Element that's part of a document? The
> only way that a rootElement differs from it's children is by the fact that
> it has no parent (right?). Of course it is still possible to have a 'tree'
> without a document, so in that case document would be null.
> Filtering XML document.. xml:lang attribute
> I wasn't even aware of the existence of such an attribute, but actually
> there are more attributes and even elements on which we build our (valid)
> resulting XML documents. To be honest I can't see at the moment why this
> such a problem. Just to take xml:lang as an example... Should we
> these documents to n document for every language and to complicate things
> even further if a user selects Russian as the language of his choise, then
> we need to select data with xml:lang='en' if the Russsian version is
> missing. Well that's a tough job if I were to use XSLT (we have done this
> the first place, but the resulting XLS stylesheet looks horrible. I like
> think about the people who have to maintain this application when it's up
> and running).
> XPath contribution ...
> Well in general I have the problem that I can't get to this source using
> (because of such a thing that's called firewall), so I downloaded the
> the hard way (which is not a pleasant thing to do). I had some problems
> building this project, but I certainly would like to give it a try once
> more. Could someone tell me how I can download these sources in an easy
> knowing that I facing this firewall!
> Thank you very much for your input and I'm sure we will talk a lot more
> each other....
> Kind regards,
> Rudolf de Grijs
> _______________________________________________
> To control your jdom-interest membership:

More information about the jdom-interest mailing list