How to get Full path of xmlDataDocument? - TechRepublic
Question
December 17, 2011 at 02:03 AM
sankulpune

How to get Full path of xmlDataDocument?

by sankulpune . Updated 14 years, 6 months ago

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.

This discussion is locked

All Comments