Embedding xml information into a PowerPoint presentation

U

Uzi

You can add custom properties to a presentation, slide or shape by
using the Tags property. You can add sets of keys and values to this
property.
My question: is there any way I can embed larger chuncks of XML
information into a presentation?
 
V

vinoth

Dim document As XmlDocument = New XmlDocument
document.LoadXml("Test.xml")

Dim ppPres As PowerPoint.Presentation

' To add xml as a string to the presentation
ppPres.Tags.Add("ChooseName",document.InnerXml())

' To get xml as a string from the presentation
Dim testXml as String = ppPres.Tags.Item("ChooseName")

You can add any number of xml file as a string with a name.

Is it the one you have asked? :)


Thanks,
Vinot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top