Ns0 prefix not attached in the xml structure generated using Content Master

Hello Everyone,
I am parsing a tabdelimited file using the Content Master Studio.
I am providing the message type xsd as the schema file.
After writing all the parsing logic the xml file which is getting generated is in the below mentioned format
<?xml version="1.0" encoding="UTF-8"?>
<ReadExcel xmlns="urn:readexcel.com">
<ROW>
<NAME>Rahul</NAME>
<AGE>24</AGE>
<Location>Mumbai</Location>
</ROW>
<ROW>
<NAME>Vinit</NAME>
<AGE>25</AGE>
<Location>Mumbai</Location>
</ROW>
</ReadExcel>
but since the ns0 prefix is not getting attached the mapping program is failing in XI.
<ns0:ReadExcel xmlns:ns0="urn:readexcel.com">
I guess the people who have used Content master studio might have also faced the similar problem.
Please suggest me some solution
Thanks and Regards
Rahul Nawale

Hi Rahul,
the namespace prefic ns0 is only a placeholder for the namespace urn:readexcel.com. This namespace can also be represented by another prefix or even by the empty prefix.
E.g. the document you have pasted is totally equivalent to the document
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ReadExcel xmlns:ns0="urn:readexcel.com">
<ns0:ROW>
<ns0:NAME>Rahul</ns0:NAME>
<ns0:AGE>24</ns0:AGE>
<ns0:Location>Mumbai</ns0:Location>
</ns0:ROW>
<ns0:ROW>
<ns0:NAME>Vinit</ns0:NAME>
<ns0:AGE>25</ns0:AGE>
<ns0:Location>Mumbai</ns0:Location>
</ns0:ROW>
</ns0:ReadExcel>
However, it is not possible to model this document via a Message type in the Integration Repository. The XML instance from a Message type will look like this:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ReadExcel xmlns:ns0="urn:readexcel.com">
<ROW>
<NAME>Rahul</NAME>
<AGE>24</AGE>
<Location>Mumbai</Location>
</ROW>
<ROW>
<NAME>Vinit</NAME>
<AGE>25</AGE>
<Location>Mumbai</Location>
</ROW>
</ns0:ReadExcel>
Indeed, in the root tag all documents are equivalent (it has name ReadExcel and namespace urn:readexcel.com). But for the subelements (ROW, NAME,...) there is a fundemental difference. In your example (and my first example) these elements have namespace urn:readexcel.com, too. In my second example those elements have empty namespace. Indeed, all XML documents modelled as Message types have an empty namespace for all non-root elements.
Message types are simply not suitable to model a document as you have posted. However, there is simple help. Just download the schema for the Message type to your local file system. Add attribute elementFormDefault="qualified" to the root tag of that schema. Upload that schema as External Definition. This External Definition will have one External Message. Define your mapping using that schema.
For more background on that topic I recommend reading the specifications on XML namespaces and XML schema.
Greetings
Stephan

Similar Messages

  • How can I get the XML structure from a flat structure?

    Hi all,
    in my XI SP 12 I use a JMS adapter to read information using the WebSphereMQ transport protocol.
    The structure that I receive have this format:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value>
    <NumberRecordType_B><NumberRecordType_c>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    the problem is that in this structure each line is not separated by a carriage return or a comma, I have all the information in a single line:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value><NumberRecordType_B><NumberRecordType_c><Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>...<Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value><Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>...<Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    and the customer don't want to insert a line separator.
    Then, the question is:
    How can I get the XML structure from this structure?
    If possible, I don't want to develop new Module and add it in the JMS Module Sequence.
    PS I have already read the article "How to Use the Content Conversion Module with the XI 3 J2EE JMS Adapter.pdf" and it doesn't seem to help me.
    Best Regards,
    Paolo

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • [CS3 JS] Is it possible to export just the XML structure?

    Hello,
    I am using scripts to find various objects in an InDesign document and tagging them.
    I will then want to export the XML structure but not any of the content. I'm just learning XML and do not see a way to do this.
    Thanks,
    Tom

    Share/export using QuickTime to an audio only codec such as MP3.

  • Remove Structured Anchored Frame  without disturbing the XML Structure - Reg.

    Dear All,
    Please any one help me!, How to remove the xml Structured Anchored Frame without disturbing the XML Structure.
    Manually If I'm removing the XML Structured Anchored Frame, the XML Structured is gone.
    I tried so many ways.  If  I am removing manually in Grouped Frame, then this problem is not happens.
    I mean, Create 2 separate frames Move any xml structured contents to that frames. Group that 2 frames and make it anchored.
    Now you can remove that anchored, this xml Structure is not disturbing (I mean not removed).
    If I did the same in above method for Single Text Frame, this xml Structure is gone.
    Kindly any one person resolve this problem, Thanks in advance!!!
    Note:
    (1) I tried through in InDesign CS6 Plug-In, this is working perfectly. But I need in Javascript to do this.
    Thanks & Regards
    T.R.Harihara SudhaN

    Hm – if you can do it with a Group object, why don't you wrap around a group object?
    With ExtendScript it's quite possible to create Groups with only one single object.
    If we have a text frame selected, you could add a "helper" rectangle to the spread.
    Group the text frame and the rectangle, then remove the rectangle from the group.
    Now you have a Group with a single text frame.
    var myTextFrame = app.selection[0];
    var myHelperRectangle = app.documents[0].layoutWindows[0].activeSpread.rectangles.add();
    var myGroup = app.documents[0].layoutWindows[0].activeSpread.groups.add([myTextFrame,myHelperRectangle]);
    myGroup.rectangles[0].remove();
    app.documents[0].select(myGroup);
    Uwe

  • Got error: Location Code is not enabled in the XML Gateway Server

    Hi,
    When I perform Compliance rule screening on GTM - Globel Trade Management,that I defined GTM as an Trading Partner on EBS R12.1.3,
    GTM can send response to EBS,but I see the following error message via Transaction Monitor on EBS workflow:
    [The Standard:OAG, Transaction Type:ITM , Transaction SubType:EXPORT_COMPLIANCE and Location Code GTM6.2 is not enabled in the XML Gateway Server. Pls check your Setup.]
    On EBS,I defined an ITM Partner for GTM,named 'GTM6.2',according to the document created by you: ITM Setup.doc
    and I also finished the following steps:
    1. ITM Application Users
    2.ITM Partner Service Types
    3.ITM Parameter Setup
    4.Order Type Creation: ITM Only
    5.Customer Creation: create a customer named 'GTM6.2', also enter 'GTM6.2' as EDI Location
    6.Define Transactions on XML Gateway as following:
    <Header>:
    Party Type: Customer
    Transaction Type: ITM
    Transaction Sub Type: EXPORT_COMPLIANCE
    <External Transactions (Lines)>:
    Standard Code: OAG
    External Transaction Type: ITM
    External Transaction Sub Type: EXPORT_COMPLAINCE
    Queue: APPLSYS.ECX_IN_OAG_Q
    7.Define Trading Partners on XML Gateway as following:
    <Header>:
    Trading Partner Type: Customer
    Trading Partner Name: GTM6.2
    <Trading Partner Details>:
    Transaction Type: ITM
    External Transaction Type: ITM
    External Transaction Sub Type: EXPORT_COMPLAINCE
    Map: WSHITEIN
    Source Trading Partner Location Code: GTM6.2 (same as the value what defined in EDI Location for customer)
    I think the combination of External Transaction Type, External Transaction Subtype, Standard Code,Source Trading Partner Location Code
    should be existing once done above steps, I have no idea why the error prompted.
    Does someone can tell how to trace the error?
    Thanks,
    Rambler

    user12254038 wrote:
    Can you send any supporting documents on ITM Setup? My client is implementing ITM for the first time and I wanted to know more details on how it works in R12.1.3 version of EBS?Oracle International Trade Management (ITM) Partner Integration: Specifications [ID 572524.1]
    International Trade Management Integration [ID 259691.1]
    How Can I Tell if International Trade Management is Installed or Not? [ID 742539.1]
    What are the Required Setups for International Trade Management (ITM) Flows in Shipping Execution? [ID 782861.1]
    What Patches Provide the Latest Fixes and Enhancements for ITM Adapter? [ID 465122.1]
    How to Generate Debug Information From ITM Adapter for XML Processing [ID 738925.1]
    How to Generate Debug File for International Trade Management (ITM) [ID 1294853.1]
    Thanks,
    Hussein

  • UWL - not picking up the XML config

    Hi All,
    we have a UWL Application in the UWL Adminstration for the configuration Purpose i need to upload the XML Configuration file. it not picking up the XML Configuration
    can any one reslove this Please.
    Thanks and Regards
    Dileep
    Edited by: Dileep P on Feb 12, 2008 5:59 PM

    Dileep,
    Whenever you upload a new configuration, you will need to clear out UWL cache.
    Please go to "System Administration - > System Configuration -> Universal Work list & Workflow -> Universal Workflow Administration -> Click on cache administration page -> Choose system -> Click "Clear Cache" button.
    Chintan

  • UWL displaying workflow NOT defined in the XML

    Can someone tell me why/how some workflows are displaying in UWL even though the workflows are not defined in the XML file?

    Hi Daniel,
    This is the case for many "legacy" workflows launching SAP(Web)GUI transactions or BSPs.
    It works like this: if the UWL cannot find a corresponding task type for an arriving work item from Business Workflow in its XML configuration, it assigns the task type "uwl.webflow.default". In the standard uwl xml file you can see that tasks of this type are launched using the SAPTransactionLauncher (not specifying the TransactionCode parameter).
    As you can see in the documentation (https://help.sap.com/javadocs/NW04S/SPS09/uw/com/sap/netweaver/bc/uwl/config/doc-files/ActionHandlers.html), if the TransactionCode is empty, the action handler defaults to the Business Workflow transaction "SWK1". This transaction (the UWL is now out of the picture) just redirects to the target transactions defined in the workflow itself.
    Any matching entry in the UWL XML configuration will however override this default behavior.
    Good question though. Hope this clarifies it to some extend...
    Best,
    Matthias

  • Using iWeb when I drag across a google maps widget I get the box but no map. It is as though I am not attached to the internet. Any ideas?

    Using iWeb when I drag across a google maps widget I get the box but no map. It is as though I am not attached to the internet. Any ideas?

    Often discussed in this forum since MobileMe closed.
    Search this forum for "google maps".
    Or go to Google Maps.
    Find your spot on the globe.
    Grab the code (chain icon).
    Add a HTML snippet to your page.
    Paste the code.
    Result :
    http://www.wyodor.net/mfi/cultureclub/Maps.html
    Or try the competition :
    http://www.wyodor.net/mfi/cultureclub/BingMaps.html

  • Hi I  newly started using Iphone 6, I am not getting all the applications list under Use Cellular date for to restrict my unwanted apps on cellular data

    Hi I  newly started using Iphone 6, I am not getting all the applications list under Use Cellular date for to restrict my unwanted apps on cellular data
    Please help me out

    Hi Rajesh778484,
    Welcome to the Apple Support Communities!
    I understand that some of your applications are not appearing under Settings > Cellular on your iPhone so that you can restrict or allow use of cellular data. If you have some installed applications on your iPhone that are not showing here, the first troubleshooting step I would suggest would be to reset your iPhone. Please refer to the attached article for information on how to perform a reset. 
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    Best regards,
    Joe

  • Omit the XML declaration when using the PHP MM_XSLTransform class

    Hi
    Is there any way to omit the XML declaration when using the
    PHP MM_XSLTransform class?
    When using the PHP MM_XSLTransform to transform some XML into
    HTML, the XML declaration is faithfully delivered, which is
    expected. In my case though this ends up in the body of the
    document and is not desired. I wish to choose that the XML
    declaration is not shown.
    I have tried to use the <xsl:output method="xml"
    encoding="utf-8" omit-xml-declaration="yes"/> in the XSL
    stylesheet but the declaration still appears.
    Any help?
    all the best
    Dave

    Jim20005 wrote:
    > I'm using XLS transfomation in DW for reading XML files.
    Now (I'm just back
    > form holiday), my webspace provider has updated to php
    5.1.5. I'm getting this
    > error:
    Comment out line 301 and add two new lines immediately after
    it like this:
    // $xml = DOMDocument::loadXML($content);
    $doc = new DOMDocument();
    $err = $doc->loadXML($content);
    This is part of a PHP 8.0.2 hotfix that can be obtained
    directly from
    Adobe support.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • My imac and ipad2 will not connect to the internet with Windstream using an 2wire DSL modem.

    Help my brand new imac and ipad2 will not connect to the internet with Windstream using an "2WIRE" DSL modem.  Windstream tech service is useless.  i can connect with the built in router through Ethernet or wireless, but still no connecting to internet, help!  windstream said everything is working on their end, yea right.  What i do know is that both the mac and ipad work at other places and can connect with wireless connected to the internet, so i know it's not the apple products. 
    these are brand new machines with lion.
    This is my first mac, so I’m still new to how it works, which is not helping either so a detailed help would be great.  Please help before my wife losses it
    thanks

    There is a 2701HG-B, and a 2701HG-D.  If not labelled on the modem, ask Windstream which one they presently supply or how to tell the difference.
    By the way tell your wife it isn't that bad.  At least you have an ethernet DSL modem.  There were times where DSL modems had RJ-11, USB, and Ethernet, and all three were used to provide access.  At least now only the craziest DSL providers still use those modems.

  • I Published a report on the report server but it's not showing in the internal application we use to access reports

    Hi, 
    I Published a report on the report server but it's not showing in the internal application we use to access reports. The name of the application we use is called MAMA and this application has access to all the reports on the SQL report server. My email is
    [email protected] my cell phone number is 201-888-7952. 
    Thanks. 

    Hi Roger,
    Based on my understanding, you publish a report on the report server. When you access reports with internal application, the report doesn’t display, right?
    In your scenario, since you mentioned you have published the report to report server, please go to report manager, check if you can see the published report and open the report properly. If the published report is displayed on report manager, it should not
    be the issue in Reporting Services. In this scenario, since the MAMA application has established connection with on report server, it may not update items on report server after you publish your report onto report server. So please try to “refresh” in MAMA
    or reconnect the report server. If issue persists, I suggest you contact the MAMA application vendor to get some more effective advices.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • When I try to open the EOS digital solution disk ver 24.1 for my new Canon Rebel T3i camera on my Mac 10.5.8 a notice "this software is not supported by the CPU you are using" comes up.  What gives?

    When I try to open the EOS digital solution disk ver 24.1 for my new Canon Rebel T3i camera on my Mac 10.5.8 a notice "this software is not supported by the CPU you are using" comes up.   Do I need this software?  Can I just download the pictures to my Mac without using the Canon software?

    When I try to open the EOS digital solution disk ver 24.1 for my new Canon Rebel T3i camera on my Mac 10.5.8 a notice "this software is not supported by the CPU you are using" comes up
    You need to contact Canon - or read the software specs - it sounds like the software you got form them is not supported by your computer
    Do I need this software?
    Probably not - exactly what about it do you want?
    Can I just download the pictures to my Mac without using the Canon software?
    Probably - if you are shooting JPEG - launch iPhoto and in the iPhoto preferences set action when a camera is connected to launch iPhoto and connect your camera - iPhoto should launch and you should be able to import
    Some cameras need to be set to mass storage mode - read your camera manual for details and procedures
    If you are using RAW then your camera needs to be on this list and you need the versions of software noted - http://support.apple.com/kb/HT4757 - for older OS versions you can use google to find the list of supported cameras
    LN

  • I have several pdf files in my computer which are organized in folders. I want to transfer them to IBooks (in my Ipad) and keep the folder structure I use in my computer. Is it possible to do it? Do I need any other app?

    I have several pdf files in my computer which are organized in folders. I want to transfer them to IBooks (in my Ipad) and keep the folder structure I use in my computer. Is it possible to do it? Do I need any other app?

    By design, the organizer (and any other database management systems) is there to prevent you from duplicating your media files. The catalog management allows you to have the same image in different categories or albums. Duplication in different folders is to be absolutely avoided.
    The same image file can have multiple tags like 'family', 'vacations', 'birthdays' and be present in three different albums with the same names. On obvious advantage is less disk space. Another one with your present folder system is that if you edit one of your duplicates, the other ones are unchanged.
    I don't see an easy way to make your present folder structure simplified for the organizer ...

  • I am subscribed to iCal Jewish Calendar but the dates of holidays etc. do not appear on the calendar. They used to, but now there is nothing. What can I do to make the festivals show again?

    I am subscribed to iCal Jewish Calendar but the dates of holidays etc. do not appear on the calendar. They used to, but now there is nothing. What can I do to make the festivals show again?

    jd,
    Instead of using the Apple supplied Jewish Holiday Calendar, try http://www.hebcal.com/ical/

Maybe you are looking for

  • Query is too large

    Hi, Can any one give me the solution to develop this report. I have 12 columns under each vertical.Like that i have 12 verticals for my Gross margin Report. Then 12* 12=144 coloumns.total are 144. But in Bi-Bex it will allow only limited columns. Whe

  • Printing to Dot Matrix Printer

    Is there any example to print directly to a dot matrix printer in text mode and not in Graphics mode. Thanks

  • Can I convert from pdf output into excellsheet in smartforms

    My smartform output is in pdf form now .Can i convert it into excellsheet by using save option. Moderator message: please do some own research before asking. Edited by: Thomas Zloch on Feb 21, 2011 12:49 PM

  • Fire reflection?

    Seeking advice on best way to special effect the reflection of fire on glass... In the scene a woman is inside, looking out window.  The script calls for a huge bonfire outside. I need to see the fire's reflection on the inside of the window....  (ca

  • Change Vendor name

    Hi to all, I have question, I just wondering why there is no error in F110 when I change the vendor name. let say I change the vendor name on 10. 20.2008, then I submitted a proposal on 10.28.2008 the approved on 10.3.2008. then but still the vendor