void () { XmlTag tag = XmlElementFactory.getInstance(getProject()) .createTagFromText(""" <fabrique-element element="wpd" name="Index"> <wpd/> </fabrique-element>"""); tag.add(tag.createChildTag("layout", "", """ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <fabrique:inheritorLayout/>""", false)); }