This example is very useful for the wso2is xacml testing. This is just java client for create the multiple policies from one sample policy. Here you can create any number of policies and directly upload it to the WSO2IS by changing the config.properties file under the java client.
Instructions : this is java maven project you can just build it and open it from any IDE
Change the config.properties file according to your settings
Then you can create the multiple policies by running the MultiplePolicyCreator
You can upload the created policies by running the PolicyUploader
Specially: You can replace the sample.xml policy file as you wish and generate the policies according to that