Question

Non-XML-based HTML?

Posted 7 years ago by Avatar Derek Calder - Alterian
I suspect that only XHTML is supported, because it sounds like the syntax editor's HTML support is derived from the XML support. Is there a way to have the syntax editor set up for other versions of HTML, such as 4.01? We want to allow users to edit HTML that does not follow all of the rules of XHTML.

[Modified at 04/04/2011 11:39 AM]

Comments (1)

Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Derek,

For the Web Languages Add-on, only XHTML is supported since the language there is XML-based and requires tags to be well-formed.

We do have a free HTML language definition shipping in the Sample Browser that you can use and modify as needed. It just does syntax highlighting (no automatic outlining) but as with all syntax languages, you can start with it and extend it with any language services you'd like. For instance you could add a completion provider service to show a list of HTML tags.

Actipro Software Support
Information The latest build of this product (2018.1 build 0230) was released 2 months ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.