IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

get empty prefixs using queryXMLNode

  • 1.  get empty prefixs using queryXMLNode

    Posted Thu October 20, 2011 05:19 PM

    Hello all,

    can you help me with this wM service?
    I’m doing query on XML node (xml contains elements with prefixes, but also without prefixes, some elements without prefixes are before those with prefixes). To query I use:
    .///prefix()
    for prefixes (using XQL) and :
    .//
    /baseName()
    for basenames and similar for namespaces.

    Problem is that on the output there is more that 200 basenames, but only 16 prefixes and namespaces (result of elements without prefixes). In another custom java service, there are namespaces and prefixes mapped to basenames in the same row.
    Is there a way to get also null prefixes out of the queryXMLNode service?

    Thank you for replies.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB