troubleshooting Question

Using project xml file as string

Avatar of hqdev
hqdevFlag for Canada asked on
Visual Basic.NETEditors IDEs
8 Comments1 Solution364 ViewsLast Modified:
Hi experts,

In my application I have to use XML for some Sharepoint ribbon definition.
This is all working fine but the XML is in Strings.
I found it difficult to maintain and read XML in strings, I would like to use xml files and convert those file to string at runtime.
How can I use xml files in the project to be used as string??
Also I don't want those file to be deployed, I just need to use those files within the project.
I've tried to put those files in a resource file and use something like that:
Dim a As String = My.Resources.Resource.mainTab (mainTab is an XML file in resources.resx)
But this implied a deployment to sharepoint resources and anyway it doesn't work.

Any help appreciated.
Thanks


Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros