I have an input tag name properties which has many values in it(like key-value pair) separated by semicolon. I need to find particular strings and asigned the value(which is coming after =)into particular output node 

For example in the below input.xml i want to take mail.debug=false and assigned the value "false" into output xml debug node.

Input.xml

```
<mail-session>
    <name>MailSession-1</name>
    <target>AdminServer</target>
    <jndi-name>MailNotification2</jndi-name>
    <properties>
    mail.debug=false;mail.smtp.user=weblogic;mail.from=master@mydom.com;
   </properties>
  </mail-session>

```

My output.xml Should be like this

```
<?xml version="1.0" encoding="UTF-8"?>
<mail-session jndi-name="java:jboss/mail/mailservice" name="MailSession-1" debug="false" from="master@mydom.com">
<smtp-server outbound-socket-binding-ref="" tls="" ssl="">
<login name="weblogic" password=""/>
</smtp-server>
</mail-session><subsystem>
</subsystem>

```