Hi folks, I'd have another rather special question. As already mentioned in my last mails I extended the AbstractDOMTransformer to perform some costume operations. The problem I'm facing at the moment is as follows: Empty elements like for instance <img src="<source-path>" alt="<alt-text"> /> seem not to be "recognized by my DOM within which I handle the elements. But indeed they must be within the DOM, otherwise they wouldn't be within the output at the end of the pipeline as the transformer passes the DOM back to the pipeline again. In my example I tried to access the appropriate element by calling node.getLastChild() at its parent node (named “node” for this example) which should yield the <img> node, but it just returns NULL instead.
So I ask myself if I have to transform them before accordingly. For the previous example it would have to be transformed the empty element to something like <img src="<source-path>" alt="<alt-text">></img>. And if I have to transform them beforehand - how can I establish this? Can I use a transformer directly before my extension of the AbstractDOMTransformer? Which one do I have to extend?...? Or am I just doing something wrong within my DOM handling class? Can those elements normally be accessed easily and its just an error of my implementation? I know that this question would have to be asked in an XML mailinglist or something of that kind, but in my opinion there are a lot of experts within this list to cover a wide rang of topics. with best regards Thomas -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
