Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

I want to create XML-attributes with the AL-commands (not dotnet) but get an error on the character colon.

(0) ShareShare
ReportReport
Posted on by 29

Create XML-attribute with name= 'xsi:noNamespaceSchemaLocation', value = 'UWMDUC_20143.xsd', used xmlElem.SetAttribute.  Searched in standard BC but it's still using dotnet ?!

pastedimage1666877517403v1.png

  • Verified answer
    Rudy J. Profile Picture
    29 on at
    RE: I want to create XML-attributes with the AL-commands (not dotnet) but get an error on the character colon.

    Thanks for the answer.

    I succeeded to create Node beneath with AL xml-datatypes instead of dotnet.  I spent some time on it, dotnet seems easier to me.

    <UWMDUC xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xsi:noNamespaceSchemaLocation="UWMDUC_20143.xsd">

  • Suggested answer
    Nitin Verma Profile Picture
    21,544 Moderator on at
    RE: I want to create XML-attributes with the AL-commands (not dotnet) but get an error on the character colon.

    Hi,

    Please follow the below link

    learn.microsoft.com/.../ms256139(v=vs.100)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans