If you have a collection with more Xdefinitions enter the name of Xdefinition with root XML data:
<xd:def xmlns:xd="http://www.xdef.org/xdef/4.2" name="Example" root="html"> <html> <head><title> create "Generated today message"; </title></head> <body> <h1> <font color="string(); create 'red'"> string(); create "Hello! Today is " + now().toString("EEEE, d. MMMM GG yyyy, hh:mm a."); </font> </h1> <h2> <font color="string(); create 'blue'"> <i>string(); create "This is an example of compose mode.";</i> </font> </h2> <h5 xd:script="*; create from('//i');"> <font color="string(); create 'green'"> string(); create from("@x"); </font> </h5> </body> </html> </xd:def>
Input data
If necessary you can specify the name and namespace of the model:
and namespace:
<x> <i x='Hello'/> <i x='world!'/> </x>
You can edit
Xdefinition
or
Input data