Jump to content


Photo

Syntax Coloring of XML Files

xml;dita

  • Please log in to reply
1 reply to this topic

#1 cjboorman

cjboorman
  • Members
  • 1 posts

Posted 12 June 2013 - 06:30 PM

Files with the XML extension (*.xml) appear nicely formatted, but XML files with many other extensions (for example, *.dita) appear without any formatting. XML has become the universal standard for representing data, and I'm finding new extension types every day.

 

Currently, Source Preview Handler recognizes just five extensions as XML (*.xml, *.xsd, *.xsml, *.xsl, and *.kml).

 

  1. Is there a way that I can extend this list?
  2. Better yet, since all XML files contain the XML declaration (e.g., <?xml version="1.0" encoding="UTF-8" standalone="true"?>), could you update your code to use that to identify XML files?

 

Thanks,

 

Chris.



#2 mb

mb

    Developer

  • Administrators
  • 11849 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 30 July 2013 - 06:31 PM

This is now possible:
https://www.smartftp...dler-f2674.html




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users