XML-DECLARATION DISAPPEAR IN SYNTAX EDIT WITH XML-PARSER

Hi Andrew,
i want to display a XML-file with XML-Declaration in Syntax Editor using the XML-Parser, but it disappear in the Editor. How can i configure in the XML-Parser?
Regards,
Hien
Hi Hien,
I'm not quite sure what you mean by xml parser disappearing in the Editor, does it mean that you can't find it on Visual Studio toolbox?
Our installation was modified to allow selection of Visual Studio versions installed on the target machine where to install our components (and only the latest version of Visual Studio is selected by default).
But then you will not see any Alternet 5.0 components installed on the toolbox.
Even without having this component on your toolbox you can create it from code using code like this:
syntaxEdit1.Lexer = new Alternet.Syntax.XmlParser();
regards,
Andrew
Hello Andrew,
i want to display the XML-File in Syntax Editor with the Standard XML-Parser


Please leave packages in shed by driveway.


Lawnmower
1
148.95
Confirm this is electric



and the XML-declaration line

disappear.
I didn't find the suitable attribute in the XML-Parser.
Regards,
Hien
Hi Hien,
Could you please send me (andrew.medvedev@alternetsoft.com) cut-down version of your project where the issue can be reproduced, as it seems to work fine for me. I just tried to paste this code snippet to AdvancedParser demo when XML parser is selected - please take a look at the attached screenshot.

regards,
Andrew