Expand my Community achievements bar.

Using namespaces

Avatar

Level 8
Level 8

Hi all,

I am doing a project where a process receives an xml-file and should then render a form corresponding to the xml. Simple ehh

However I find some difficulties using namespaces in the xml that is contained in the xml. For instance when a namespace changes version its reference in the xml changes e.g. from

xmlns:formko="http://xmls.skatteverket.se/se/skatteverket/formular/komponent/0.2"

to

xmlns:formko=http://xmls.skatteverket.se/se/skatteverket/formular/komponent/0.4"

Whenever this happens I find it neccesary to change the reference (right click on the process canvas -> configure -> advanced -> registered prefixes) in the processes that process this xml file as I am using XPath through SetValue steps to access the tags that is within the formko: namespace.

This behavior ties the xml and process very tight together and is not what the customer wants - any ideas to how I can avoid this issue?

Thanks in advance

Kim Christensen

Dafolo A/S

Denmark

0 Replies