We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How use linq with xml

I have a xml:

<?xml version="1.0" encoding="utf-8"?>
           <content code="1234">Test value</content>

and try to reference it in the template


i can get attr “code”,but how to get content.innerText ?


Thanks for your inquiry. Please use the following LINQ query to get desired results.


Hope, this helps.

Thanks for your reply.