I'll suggest an easy extension, but that contributes much, to the interface: the inclusion of Prefix. I often want to know the prefix with an element, but prefix is not available through the interface (so I have to downcast to get the prefix - and get it, if a prefix is available).
If you think it's a good suggestion, I'll can implement it for you, and put a pull request.
Kind regards,
Jan
Hi again,
Just realized that by using 'AsSyntaxElement', I can get the 'IXmlElementSyntax' interface, where I indeed have the 'prefix' available...
Hi there,
I'll suggest an easy extension, but that contributes much, to the interface: the inclusion of Prefix. I often want to know the prefix with an element, but prefix is not available through the interface (so I have to downcast to get the prefix - and get it, if a prefix is available).
If you think it's a good suggestion, I'll can implement it for you, and put a pull request.
Kind regards, Jan
Hi again,
Just realized that by using 'AsSyntaxElement', I can get the 'IXmlElementSyntax' interface, where I indeed have the 'prefix' available...
Thanks, Jan