blob: 5d6a6a79ce00433d212aefedd3f22e87f999b30d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from templet import stringfunction
@stringfunction
def template (uuid):
"""
<Deployment:DeploymentPlan
xmlns:Deployment="http://www.omg.org/Deployment"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
<label>${uuid}</label>
<UUID>${uuid}</UUID>
"""
|