Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2342

Using Spin I can use namespaces in XPath

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Fixed
    • L3 - Default
    • 7.3.0, 7.3.0-alpha1
    • None
    • spin

    Description

      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)

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              sebastian.menski Sebastian Menski
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce