Can't build to HTML5


I want to try and convert a project to HTML5, but I get some errors.
I am up to date, and even when starting a new project in FlashDevelop, id doesn’t build.

I get this error:
C:\HaxeToolkit\haxe\std/js/html/Document.hx:204: characters 1-96 : Type not found : XPathExpression

Is there something I need to install? I don’t find anything on the documentation.


The file is part of the std, do you have C:/HaxeToolkit/haxe/std/js/html/XPathExpression?

If not then your installation is corrupted and you should completely remove the std folder (it’s important) and copy a fresh one from the installer.

It worked, thank you.

PS: Wasn’t there a way to flag an issue as solved?

I never tried but there should be a way for you to select a post as answer, which would automatically make the issue as resolved.