You can edit the contents of a cell, if you left click on it and then you will see this:
Here we focus on the data, that we put into this cell. That is setup on the field called Value. You can insert a fixed value by simply typing the text into this field while the field is in text mode. You can see the current mode on the right. The capital T means, that InterFormNG2 expects you to type in a text constant.
You can change the entry mode into XPath, if you click the T icon on the right. If you do that, then this is shown:
Now InterFormNG2 expects you to type in a valid
Xpath expression, which might refer to the contents of an input file. If you have
loaded a sample input file, then you can click the magnifying glass to include references to the input file.
In the screen shot above you can see an XPath error. The reason is, that this text is not a valid XPath expression. If you want to insert a fixed text in XPath, then you need to delimit the text with either single quotes (' ') or double quotes (" ").
Relative XML references
If you insert a cell inside a repeat loop, that e.g. iterates across all of the detail lines of an input XML file, then you should remember to cut out the initial part of the XML path.
If you e.g. have inserted a repeat loop, that repeat rows for all the detail lines of an XML file, then the Excel template could look like this:
But when you insert a reference to a node in the DetailLine node, then the path looks like this:
Here you need to change the path above like shown below, if you want to output the value of the Product node of the current detail line (and you probably want that):