// Perform the replacments.
IdGenerator nodeIdGen = node.getNearestAncestor(SoyFileSetNode.class).getNodeIdGenerator();
for (CssNode cssNode : cssNodes) {
StandaloneNode newNode;
if (cssHandlingScheme == CssHandlingScheme.LITERAL) {
newNode = new RawTextNode(nodeIdGen.genId(), cssNode.getCommandText());
} else if (cssHandlingScheme == CssHandlingScheme.REFERENCE) {