
Hi,
I'm actualy working on a project to convert from CAL to AL (in order to deploy to Business Central). There is a lot of DotNet variables in it, especially xml variables. So I use some methods given by MS ( https://docs.microsoft.com/fr-fr/dynamics365/business-central/dev-itpro/developer/devenv-restapi-overview ), but I'm in struggle with this kind of lines:
XmlAttributes.GetNamedItem(Text)
XmlDocument.GetElementsByTagName(Text)
XmlElementField.HasChildNodes()
-> Can't find a way to do this in AL.
Is someone has already hit this kind of problem and has a way to solve it ?
Thanks !
*This post is locked for comments
I have the same question (0)You're right, there's actually no a direct implementation of these methods.
I think you can use others, like XmlAttributeCollection Class or XmlDocument.GetChildElements() or XmlElement.GetChildNodes() to obtain the same result.