Anakia
  1. Anakia
  2. ANAKIA-4

Setting xpath namespace bindings?

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Code
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other

      Description

      Apologies in advance if I'm missing something, but I cannot see any way to
      declare the namespace declarations that I want to use when evaluating an xpath
      in a template. Unless my entire document is in no namespace, I seem to be out
      of luck.

      For example, if I have a document

      <foo xmlns='bar.com'><baz/></foo>

      I can't evaluate something like

      $root.selectNodes("myns:baz")

      without a way to map 'myns' to 'bar.com' in the xpath context.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Patrick Calahan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development