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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

recursive element and X-Tension

  • 1.  recursive element and X-Tension

    Posted Thu February 21, 2002 12:49 AM

    Hello,

    I’ve a small problem with a recursive element containing others (itself too) inside a dtd.

    I need to associate some behavior to one of these contained elements, so that each time the instance holding some of them is query, the function would be called.

    The trouble is that I was not able to do that with the schema editor.

    It seems that the schema editor does not understand the recusivity of the father element.

    In fact the made association will only be active for a specific contexte not for all contextes that could be produced by the recursive element.

    For example if I have A → (B,A?,C)* .
    Saying that C is using a mapout function in the A/C contexte doesn’t emply that this function will be called in A/A/C.

    Did I mess something ??? Any suggestions would be appreciated !

    Guy


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: recursive element and X-Tension

    Posted Mon February 25, 2002 01:39 PM

    Hi there.

    >For example if I have A → (B,A?,C)* .
    >Saying that C is using a mapout function in the >A/C contexte doesn’t emply that this function >will be called in A/A/C.

    Beware that a SXS in Tamino is, once mapped for a node, responsible to store and retrieve the xml content. That means, you will no longer need a special mapping of A/A/C, since it is not stored inside Tamino but in the SXS when it had to store A and A/A.

    Therefore you can drop the A/A node completely and handle all this functionality in one SXS mapped at A.

    Hope I was clear?

    Hiran


    #API-Management
    #webMethods
    #Tamino