featureMap.add(XMLTypeFeatures.PROCESSING_INSTRUCTION, processingInstruction);
}
public static void addProcessingInstruction(FeatureMap featureMap, int index, String target, String data)
{
ProcessingInstruction processingInstruction = XMLTypeFactory.eINSTANCE.createProcessingInstruction();
processingInstruction.setTarget(target);
processingInstruction.setData(data);
featureMap.add(index, XMLTypeFeatures.PROCESSING_INSTRUCTION, processingInstruction);
}