<p>However, knowing that unformatted xml is not so easy for geany, you can format it in advance. With the stylesheet</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" indent="yes" encoding="UTF-8" />
  <xsl:template match="/">
    <xsl:apply-templates />
  </xsl:template>
  <!-- standard copy template -->
  <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*" />
      <xsl:apply-templates />
    </xsl:copy>
  </xsl:template>
</xsl:stylesheet>
</code></pre>
<p>saxon formats my 75MByte file to a 136MByte formatted xml in 8 seconds.</p>
<p>I would like to recommend that geany analyses whether the file is suited to be worked within geany and otherwise informs the user.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2094#issuecomment-468226231">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ3CI6sIoYhXQdQy4cmCPtN40Ac-Aks5vR7NfgaJpZM4bUIJ6">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ-5EFiSxfnUiLIwAROV34NGqa-klks5vR7NfgaJpZM4bUIJ6.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@rolfschumacher in #2094: However, knowing that unformatted xml is not so easy for geany, you can format it in advance. With the stylesheet\r\n\r\n```\r\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\r\n\u003cxsl:stylesheet version=\"2.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\u003e\r\n  \u003cxsl:output method=\"xml\" indent=\"yes\" encoding=\"UTF-8\" /\u003e\r\n  \u003cxsl:template match=\"/\"\u003e\r\n    \u003cxsl:apply-templates /\u003e\r\n  \u003c/xsl:template\u003e\r\n  \u003c!-- standard copy template --\u003e\r\n  \u003cxsl:template match=\"@*|node()\"\u003e\r\n    \u003cxsl:copy\u003e\r\n      \u003cxsl:apply-templates select=\"@*\" /\u003e\r\n      \u003cxsl:apply-templates /\u003e\r\n    \u003c/xsl:copy\u003e\r\n  \u003c/xsl:template\u003e\r\n\u003c/xsl:stylesheet\u003e\r\n```\r\n\r\nsaxon formats my 75MByte file to a 136MByte formatted xml in 8 seconds.\r\n\r\nI would like to recommend that geany analyses whether the file is suited to be worked within geany and otherwise informs the user.\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2094#issuecomment-468226231"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2094#issuecomment-468226231",
"url": "https://github.com/geany/geany/issues/2094#issuecomment-468226231",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>