473,498 Members | 1,704 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Konvertierung von XML-Dateien

Guten Morgen !

Verzweiflung pur : Seit "geraumer" Zeit versuche ich , die Datei
mssecure.xml (die Updatedatei von Microsoft / Shavlik) in ein Dataset zu
konvertieren, um so den Inhalt in eine Datenbank abspeichern zu können.
Ich habe das mit folgendem Code versucht :

Dim ds As New DataSet
Dim doc As New Xml.XmlDocument
doc.Load("D:\mssecure.xml")
Dim sReader As New StringReader(doc.InnerXml)
ds.ReadXml(sReader)

Dieses Vorgehen gibt mir beim letzten Kommando folgenden Fehler aus :

"Die gleiche Tabelle (ProductFamilies) kann in zwei geschachtelten
Beziehungen nicht die untergeordnete Tabelle sein"

Wer kann mir helfen, die mssecure.xml in ein Dataset zu wandeln ?
Wer die Datei auch haben möchte : http://xml.shavlik.com/mssecure.cab

Wie immer : Ein großes Dankeschön !!!!!

Christoph Duesmann

Nov 12 '05 #1
1 3152
Ja, Guten Morgen, Christoph, aber meinst du newsgroup
"microsoft.public.de.german.xml"? The rest of your message kann ich nicht
verstehen. It's been too long since high school German class. Sorry, best
luck.

Cheers,
Stuart Celarier, Fern Creek

"Christoph Duesmann" <c.********@web.de> wrote in message
news:eg****************@TK2MSFTNGP09.phx.gbl...
Guten Morgen !

Verzweiflung pur : Seit "geraumer" Zeit versuche ich , die Datei
mssecure.xml (die Updatedatei von Microsoft / Shavlik) in ein Dataset zu
konvertieren, um so den Inhalt in eine Datenbank abspeichern zu können.
Ich habe das mit folgendem Code versucht :

Dim ds As New DataSet
Dim doc As New Xml.XmlDocument
doc.Load("D:\mssecure.xml")
Dim sReader As New StringReader(doc.InnerXml)
ds.ReadXml(sReader)

Dieses Vorgehen gibt mir beim letzten Kommando folgenden Fehler aus :

"Die gleiche Tabelle (ProductFamilies) kann in zwei geschachtelten
Beziehungen nicht die untergeordnete Tabelle sein"

Wer kann mir helfen, die mssecure.xml in ein Dataset zu wandeln ?
Wer die Datei auch haben möchte : http://xml.shavlik.com/mssecure.cab

Wie immer : Ein großes Dankeschön !!!!!

Christoph Duesmann

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2221
by: Phil Powell | last post by:
// PROCESS XML CONTENT INTO DYNAMICALLY-NAMED ARRAYS foreach (array('mime', 'state', 'country') as $val) { $parser = xml_parser_create(); xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);...
8
2330
by: Robert J Egan | last post by:
Hi i'm trying to search a remote website page. The form returns xml information, though the page extension is missing. I retrieve the information and write it to the screen. So far so good -...
1
2141
by: felipe_azv | last post by:
a got this code in asp to construct a xml , to export it to a url this is de asp code: <% SQL = "Select * from User where CodeUser in ("& request.form("C1" &")" set rs =...
2
2751
by: Simon Strandgaard | last post by:
I am trying to understand how to create a 'catalog.xml' file for my docbook-xml documents. If I understand correct a local catalog.xml file can both avoid hardcoding in makefiles (portability),...
0
1526
by: MarionEll | last post by:
Premier XML Industry Event Slated for Dec. 7-12 in Philadelphia; Presenters Include Adobe, BEA, Microsoft, IBM, Sun, Hewlett-Packard, Oracle Alexandria, Va. Sept. 30, 2003 - IDEAlliance, a...
6
6758
by: yzzzzz | last post by:
Hi, In which cases is the <?xml version="1.0" encoding="UTF-8"?> processing instruction required at the beginning of an XML document, for the document to be valid? e.g. does it depend on the...
5
4182
by: laks | last post by:
Hi I have the following xsl stmt. <xsl:for-each select="JOB_POSTINGS/JOB_POSTING \"> <xsl:sort select="JOB_TITLE" order="ascending"/> This works fine when I use it. But when using multiple...
9
2462
by: Lie | last post by:
Why this generates AttributeError, then not? Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30) on linux2 Type "help", "copyright", "credits" or "license" for more information. Traceback (most...
0
2149
by: Jacker | last post by:
Xpress Author for MS Word XML Documents In.vision Research empowers knowledge workers to create complex XML documents in Microsoft Word (2000-2003) with a normal Word experience. Deploy XML...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7205
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.