Edit xml File from ANSYS

I am working on a parameter study, and the program ANSYS writes these parameters in the language XLM.
the input factors (P4, P5, P6, P7) are so many, each factor has over 30 variables.
I entered the first Deisgn Points manually in ANSYS, and ANSYS generated this code in XLM.
ANSYS also reads the code from XLM language.
I want to edit this code now, so that I only enter a range like [5:100:5].
is this possible?

# encoding: utf-8
# Release 19.2
SetScriptVersion(Version="19.2.120")
designPoint1 = Parameters.GetDesignPoint(Name="0")
parameter1 = Parameters.GetParameter(Name="P6")
designPoint1.SetParameterExpression(
    Parameter=parameter1,
    Expression="P7*4")
designPoint2 = Parameters.CreateDesignPoint()
parameter2 = Parameters.GetParameter(Name="P5")
designPoint2.SetParameterExpression(
    Parameter=parameter2,
    Expression="40 [mm]")
designPoint3 = Parameters.CreateDesignPoint()
designPoint3.SetParameterExpression(
    Parameter=parameter2,
    Expression="30 [mm]")
designPoint4 = Parameters.CreateDesignPoint()
designPoint4.SetParameterExpression(
    Parameter=parameter2,
    Expression="20 [mm]")
designPoint5 = Parameters.CreateDesignPoint()
designPoint5.SetParameterExpression(
    Parameter=parameter2,
    Expression="15 [mm]")
designPoint6 = Parameters.CreateDesignPoint()
parameter3 = Parameters.GetParameter(Name="P7")
designPoint6.SetParameterExpression(
    Parameter=parameter3,
    Expression="15 [mm]")
designPoint7 = Parameters.CreateDesignPoint()
parameter4 = Parameters.GetParameter(Name="P4")
designPoint7.SetParameterExpression(
    Parameter=parameter4,
    Expression="8 [mm]")
designPoint8 = Parameters.CreateDesignPoint()
designPoint8.SetParameterExpression(
    Parameter=parameter4,
    Expression="12 [mm]")

Thank you very much

I just found out that XML is not a programming language, but only a text.

[https://www.padtinc.com/blog/ansys-m…-howto-part-1/ ]
But with python it is possible to write a Scripting for this.