I have a problem with my thesis, my problem is as below, I hope you can help me.
I have an xml, as shown below
the meaning of the xml is:
- "role:siasn-instance:profilasn:viewprofile" (for your information "role:siasn-instance:profilasn:viewprofil" is the name of the role) with role id 1, which is in the application "Service profile ASN" can access or have permissions to access the points below:
- url : "/tampilanData/pns", label: "Profile Pegawai", subMenu: "pns"
- url : "/tampilanData/pppk", label: "Profile Pegawai PPPK", subMenu: "pppk"
I want to convert the XML to xacml based on rbac, can you help me to convert it to XACML as much as you can? because there are still 30 rows XML more that I have to convert to XACML
Thank you

You're going to have to write your own logic. For instance, you can create a very simple XACML (or alfa) policy that has a target that combines both the user's role and the URL they have access to. It would look something like the following:
You can use XML manipulation libraries if you want to go 'raw'. You can even take XACML 3.0's schema to generate POJOs to create XML. Alternatively you could use AuthzForce's Java implementation of XACML.
If you go down the path of ALFA (easier to read), you can definitely create your own script (in whatever text manipulation language you prefer e.g. sed or Python...) to go from your CSV to ALFA.