Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: spell check

...

1) Avoid Namespaces

If you have all non-qualfied qualified elements with none of these xmlns="..." things around like this:

...

is meaningful and works.  However, for an XPath-1.0 processor, the tns prefix will need to be bound before the XPath expression will evaluate successfully.  See option (0) above for details.  (Note that this path will work without any hassle in an XPath-2.0 processor.)

3) Use Both Non-

...

Qualified Names and a Prefix

If you really can't stand the tns prefix clutter in the data, then you can add a prefix along side the non-prefix namespace. This prefix is there for XPath:

...