Hi, I am accessing the DOM tree of the collections in the embedded mode. Now, I need to process the DOM node returned by a query. For this, Item.toJava() returns a DOM Element (for my specific case/query).
When calling Element#getAttributes(), I only get "direct" attributes, i.e. no namespace declarations are included in the list of attributes. Are the namespace declarations omitted intentionally? How can I make the BXElem also report them in the resulting attributes list?
Thanks.
Hi Erdal,
When calling Element#getAttributes(), I only get "direct" attributes, i.e. no namespace declarations are included in the list of attributes. Are the namespace declarations omitted intentionally?
Um, I am pretty sure that our DOM implementation should return the results as the default Java implementation...
I remember you were providing us with some great implementation input on our DOM constructors in the past. Would you be willing to once again dive into our code base?
All the best, Christian
Oh, really? Trying to remember... I will try to dive into the DOM impl and come back with results. Thanks for your support!
2016-10-09 20:14 GMT+02:00 Christian Grün christian.gruen@gmail.com:
Hi Erdal,
When calling Element#getAttributes(), I only get "direct" attributes,
i.e.
no namespace declarations are included in the list of attributes. Are the namespace declarations omitted intentionally?
Um, I am pretty sure that our DOM implementation should return the results as the default Java implementation...
I remember you were providing us with some great implementation input on our DOM constructors in the past. Would you be willing to once again dive into our code base?
All the best, Christian
basex-talk@mailman.uni-konstanz.de