Get XML Attributes from Xml.Ast.AstNode

SyntaxEditor Web Languages Add-on for Windows Forms Forum

Posted 11 years ago by matzeooK
Version: 4.0.0285
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 11 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v21.1.0) was released 15 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.