IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Missing namespaces when Importing XSDs

    Posted 09/30/08 06:37 AM

    Originally posted by: SystemAdmin


    Hi all,

    I tested a type tree that was created using XSD importer, I found out that the entire XML output is missing namespaces prefixes.
    e.g.
    output
    <element1>
    <element2>
    </element2>
    </element1>

    expected output
    <x1:element1 xmlns:x1="http://x1.com" xmlns:x2="http://x2.com">
    <x2:element2>
    </x2:elemet2>
    </x1:element1>

    I'm asking this question because I imported another XSD, tested it, and found out that it generates namespaces correctly
    Is it something in the XSD that I should change?

    Thank you for your help
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: Missing namespaces when Importing XSDs

    Posted 09/30/08 02:03 PM

    Originally posted by: SystemAdmin


    Are you able to see the namespaces when you edit the output card? Generally all namespaces are parsed from the schema and displayed here , when you open output card settings.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 3.  Re: Missing namespaces when Importing XSDs

    Posted 10/01/08 07:12 AM

    Originally posted by: SystemAdmin


    I Couln't find any namespaces when editing the output map, thats why I thought I did something wrong
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 4.  Re: Missing namespaces when Importing XSDs

    Posted 10/01/08 10:51 AM

    Originally posted by: janhess


    Don't you have to map the namespace for an output card?
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 5.  Re: Missing namespaces when Importing XSDs

    Posted 10/01/08 11:21 AM

    Originally posted by: raj1


    Did you try the classic import?
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 6.  Re: Missing namespaces when Importing XSDs

    Posted 10/02/08 09:14 AM

    Originally posted by: SystemAdmin


    Hi Hany,

    You should put the schemas you used in the importing process to the directory where your map source file resides. Then the namespaces should appear in output cards (Schema -> Type -> Name Spaces). If they won't appear, just reopen the map source. If there are some namespaces already visible (in output card settings) and used, then you can choose to reload them (right click on Name Spaces -> Reload). Then you can delete unused namespaces that shouldn't appear in output.
    Be sure to put original schemas files with their original names you were using while importing, otherwise it won't work.
    After this process you can remove those schemas - namespaces will remain.
    If there is at least one visible namespace, you can always add any new namespace mannually. But I find it frustrating that you can't do this when no namespaces are visible, there is simply no Add command in the cascading menu.
    I hope this answers your question.

    Igor
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 7.  Re: Missing namespaces when Importing XSDs

    Posted 10/07/08 05:14 PM

    Originally posted by: Mr.WebSphreTX


    Some times you need to edit the output card properties to add the name space, there is a process to edit output card by exporting to xml and import back after your changes, this will add schema location to your output card.

    Thanks
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 8.  Re: Missing namespaces when Importing XSDs

    Posted 10/15/08 04:11 AM

    Originally posted by: SystemAdmin


    Hey Guys,

    I'm eally orry or replying late, but anyway I hae tried Pointless way, and seems like it works, thanks a lot man :)
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 9.  Re: Missing namespaces when Importing XSDs

    Posted 10/09/08 11:57 AM

    Originally posted by: SystemAdmin


    you need to import in classic mode, if you want it always. but the default one if xerces.

    if both you did with default then as second schama is reference xsd in the first one for those objects you are looking.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange