...
Code Block | ||
---|---|---|
| ||
var myNode = $Xml.Parse("<Customer><Name>John</Name><BirthDate>2014-01-31T09:00:00+02:00</BirthDate></Customer"); var result = myNode.Format('<p>{{$MyVariable}}</p>', { MyVariable : 'Custom Variable' }); // result: <p>Custom Variable</p> |
See Also
- Data+Templates
- Xml.Transform