We would like to extract all the LINQ tags/retrive the content of the tags in a LINQ template document. We are using Aspose.words JAVA for this.
@harshvardhan.scindia Unfortunately, there is no built-in method to get LINQ syntax in the document. However, you can use regular expression to get LINQ tags.
(?<=<<\s|\w*\[|\G)([^\]\[\.]+)\.(?=[^][]*\])
1 Like
Basically we want to validate the tags created by the users and check if they are correct or not is there a work around to do this ???
Will this feature be added in the future.
@harshvardhan.scindia The only way to properly validate template syntax is trying to build a report, because actual data sources is required to answer the question whether template syntax is valid.
I have linked your request to the WORDSNET-17501 feature request to add feature to validate LINQ reporting syntax. Unfortunately, the feature implementation has been postponed and it not yet scheduled for development.