Is it possible to transform an "empty" or non-existing XML into another XML with XSLT?

What I'm trying to do is just fill in a couple of parameters into a template XML.

Say, my XML looks like:

```
<someTag value="someValue">someValueOrOther</someTag>
<otherTag>dynamicValue</otherTag>

```

How do I fill these values?

I could generate an empty XML Document and transform it (and just disregard the input), but this seems ugly. I'd rather use some sort of template.

Also, I'm no fan of doing things like this in code with JAXB:

```
myDoc.getSomeElement().getSomethingNested().getEvenMoreNested().setFooElement("someVal");

```

Ideally, I would have a static XML-file with placeholders or something like that.