Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9140657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:32:42+00:00 2026-06-17T09:32:42+00:00

I have a CRM entity XML message as follows: <c:KeyValuePairOfstringanyType xmlns:c=ns1 xmlns:i=http://www.w3.org/2001/XMLSchema-instance > ….

  • 0

I have a CRM entity XML message as follows:

<c:KeyValuePairOfstringanyType xmlns:c="ns1" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"  >
....
 <c:value i:type="**b:AliasedValue**" **xmlns:b="ns3"**>
 SomethingHere...
 </c:value>
</c:KeyValuePairOfstringanyType>

Then I deserialized it to an object and serialized back to xml
I get

<c:KeyValuePairOfstringanyType xmlns:c="ns1" xmlns:i="http://www.w3.org/2001/XMLSchema-   instance"  >
 <c:value i:type="b:AliasedValue" >
 SomethingHere...
</c:value>
</c:KeyValuePairOfstringanyType>

I loose the xmlns:b definition.
Any idea why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:32:42+00:00Added an answer on June 17, 2026 at 9:32 am

    forty-two is right: attribute values do not carry any default semantics, so the namespace usage isn’t recognized as such by xml processors.

    if you wish to refer to some b-data in your i:type-attribute, you my use a mapping element to associate c:value with a (hypothesized) b:value, i.e.:

    <mapping xml:id="idXY'/>
    ...
    <c:value c:ref="idXY">...</c:value>
    ...
    <b:value b:ref="idXY">...</b:value>
    ...
    

    … where you would declare _:ref as IDREF attributes in the respective xml schemas. you may have to adjust the design for 1:n-/m:n – mappings e.g. by having referrers as child elements of _:value.

    best regards, carsten

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<?xml version='1.0'?> <sparql xmlns='http://www.w3.org/2005/sparql-results#'> <head> <variable name='r'/> </head> <results> <result> <binding name='r'> <uri>http://127.0.0.1/rdfs/CRM.rdfs#E1.CRM_Entity</uri> </binding>
I am new to CRM development. I have a Custom Entity customer. This Entity
I have sugar crm instance and i was trying to get some data from
I have a custom entity in Microsoft CRM (4.0). The user has to input
I am working on CRM 2011. We have a custom entity Orders. One of
I have a CRM FetchXML string. This has a linked entity which means the
I have created a (many-to-many ) relationship between Opportunity and a custom entity. CRM
I have several multi-line text fields in an entity in CRM 4. When I
We have upgraded a CRM 4 to CRM 2011 instance and everything is running
I have created a custom entity in MS CRM 4.0 and am trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.