Question Locked

How to get Full path of xmlDataDocument?

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is there no way to find the name (and full path) of a xml file loaded into a VB.Net application.

I have a function that takes xmlDataDocument object as input.

At the beginning of the function, I would like to ensure that the xmlDataDocuments refers to the specific .xml file.

But I can't find a way to get the name and fullpath of the xmlDataDocument.

I have tried path.getFullFileName(xmlDoc.Name / xmlDoc.LocalName / xmlDoc.DocumentElement.Name / xmlDoc.DocumentElement.LocalName) but without any success.

Please help me.

1 reply

This discussion is closed to new replies.