Get XML Attributes from Xml.Ast.AstNode

SyntaxEditor Web Languages Add-on for Windows Forms Forum

Posted 9 years ago by matzeooK
Version: 4.0.0285
Avatar
Looking at the DocumentOutline Samples (XML Schema)for the SyntaxEditor I can only see Elements in the DocumentOutline Treeview. Is there a way to read the Attributes from those Elements?

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Sorry, at the current time, the attributes are not persisted in the AST. However you do know the offsets of the start tag from the AST and can use a TextStream to read through the attribute-related tokens in the start tag.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 10 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.