<div>+ cullmann@</div><div> </div><div>Hello</div><div> </div><div>Actually, there is a XML helper in Kate but it needs a specific meta DTD-file.</div><div>I tried to generate it from the syntax highlighting language.xsd with dtdparse but sadly I had no success...</div><blockquote><div><div>dtdparse --xml syntax-highlighting/data/schema/language.xsd</div><div>Public ID: unknown</div><div>System ID: language.xsd</div><div>SGML declaration: unknown, using defaults for xml and namecaseError: Unexpected declaration: <xs:schema</div></div></blockquote><div> </div><div>29.09.2020, 13:26, "Christoph Cullmann" <christoph@cullmann.io>:</div><blockquote><p>On 2020-09-29 13:12, <a href="mailto:rhkramer@gmail.com">rhkramer@gmail.com</a> wrote:</p><blockquote> On Tuesday, September 29, 2020 03:45:23 AM Andreas Plank wrote:<blockquote> > <a href="mailto:rhkramer@gmail.com">rhkramer@gmail.com</a><br /> > I would look for another language that is similar to SPARQL which has a(n<br /> > XML)<br /> > syntax highlighter for kate and modify it.</blockquote> <blockquote> sure, I did this ;-) but regarding the extensive KSyntaxHighlighting<br /> attributes and elements is there a smart way to edit with? I mean an<br /> editor<br /> tool or text snippet tools or even a list of definitions? I saw and<br /> read<br /> the api of KSyntaxHighlighting and I guess I have to extract<br /> KSyntaxHighlighting elements or attributes on my own.<br /> <br /> It would be nice to have a tool to start with like Notepad++ has for<br /> creating syntax highlighting files ;-)</blockquote> <br /> Sorry, I don't know.<br /> <br /> It was quite a few years ago (10+, maybe even 15) when I made the<br /> syntax<br /> highlighting XML file that I needed. At the time, I didn't find<br /> anything better<br /> than just using an editor and learning the rules required.<br /> <br /> I don't keep up with all the latest things in kate (or even the latest<br /> version) -- I primarily use version 3.8.4 (on KDE 4.8.4 on Debian<br /> Wheezy).<br /> <br /> I hope somebody more familiar with things will be aware of a better<br /> tool.<br /> <br /> I will say that (for me) doing it the way I did was not terribly<br /> difficult,<br /> especially compared to one of the ways that it could be done for<br /> Scintilla,<br /> that is, writing it in C++ code (an alternative is to write it in Lua<br /> code<br /> (for Scintilla).</blockquote><p><br />Hi,<br /><br />I think at the moment there is no better way than either just an plain<br />text editor,<br />or, if you have some of that, some XML editors might provide better<br />handling if<br />you pass them our language.xsd that defines the grammar of the XML files<br />we user.<br /><br />But that will not provide a lot more than "you can open now this tag<br />here + autocomplete<br />for the attributes".<br /><br />Greetings<br />Christoph<br /> </p>--<br />Ignorance is bliss...<br /><a href="https://cullmann.io/">https://cullmann.io</a> | <a href="https://kate-editor.org/">https://kate-editor.org</a></blockquote><div> </div><div> </div><div>-- </div><div><span style="font-family:'andale mono' , 'times';font-size:12px">Alexander Zhigalin — </span><span style="color:#0000ff;font-family:'andale mono' , 'times';font-size:12px">G.T.S. srl</span></div><div><span style="color:#800000;font-family:'andale mono' , 'times';font-size:12px">———————————————————————————————————————————</span></div><div><span style="font-family:'andale mono' , 'times';font-size:12px">Email: <a href="mailto:a.zhigalin@gts.it">a.zhigalin@gts.it</a></span></div><div><span style="font-family:'andale mono' , 'times';font-size:12px">Cell: <a href="tel:+393805930050">+39 380 593 0050</a></span></div><div><span style="font-family:'andale mono' , 'times';font-size:12px">Tel:  <a href="tel:+390192940240">+39 019 294 0240</a></span></div><div><span style="font-family:'andale mono' , 'times';font-size:12px">Fax:  </span><span style="color:#0000ff;font-family:'andale mono' , 'times';font-size:12px"><u>+39 019 924 1167</u></span></div><div> </div>