Returns all namespace prefixes and URIs that are declared for the specified PRE value. Should only be called for element nodes. @param pre PRE value @param data data reference @return key and value IDs
(final int pre, final Data data)
| 197 | * @return key and value IDs |
| 198 | */ |
| 199 | Atts values(final int pre, final Data data) { |
| 200 | final int[] values = current.find(pre, data).values(); |
| 201 | final int nl = values.length; |
| 202 | final Atts as = new Atts(nl / 2); |
| 203 | for(int n = 0; n < nl; n += 2) as.add(prefix(values[n]), uri(values[n + 1])); |
| 204 | return as; |
| 205 | } |
| 206 | |
| 207 | /** |
| 208 | * Finds the nearest namespace node on the ancestor axis of the insert location and sets it as new |