Using Spin I can use namespaces in XPath

XMLWordPrintable

    • Type: Feature Request
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.3.0, 7.3.0-alpha1
    • Affects Version/s: None
    • Component/s: spin

      AT:

      • I can provide namespaces in XPath query:

      xmlString = '''
      <customer>
      <aaa:foo aaa:xmlns="http://test.org/aaa">bar</aaa:foo>
      </customer>
      '''

      S( xmlString ).xPath("/customer/a:foo")
      .ns("a", "http://test.org/aaa")
      .element()

      The query will build an javax.xml.namespace.NamespaceContext and provide it to the xpath execution (implements confirming java doc)

        This is the controller panel for Smart Panels app

              Assignee:
              Sebastian Menski
              Reporter:
              Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: