thank you very much for your information, so I have changed my code to test a possibility, but now I get an exeption and I don't know why.
Here is my test code:
Dim ironCount = ironFile.SelectEntries("TestInfo.xml")
ListBox1.Items.Add("Found entries: " & ironCount.Count)
For Each ironEntries In ironCount
If ironEntries.UsesEncryption Then
ironEntries.Password = ZipPasswort
Dim ironXmlReader As System.Xml.XmlReader = Xml.XmlReader.Create(ironEntries.OpenReader)
Dim ironXmlDoc As New System.Xml.XmlDocument
An exeption occured on "ironXmlDoc.LoadXml..." => Data at the root level is invalid. Line 1, position 1.
Now I have tested with a xmlstring:
Dim xmlstring As String = "<?xml version=""1.0"" ?><NewNode><SecondNode><LastEntry>4711</LastEntry></SecondNode></NewNode>"
In this case I can read the Entry for <LastEntry>, but not if I read the same content within the file.
I'm not sure where is my issue and I'm a little confused.
Can anybody tell me the correct way to read out a XML-Tag within a xml file which is stored into an archive file?