[IronPython] System.XML and IronPython
dinov at exchange.microsoft.com
Sat Mar 4 19:57:57 CET 2006
IronPython first needs to know about the System.Xml assembly. You can load the assembly with:
and then import System.Xml will succeed.
Note there are other clr.AddReference* functions as well to do other loads, but some of them are broken in beta 3 (and will be fixed in beta 4).
Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Robert Smithson
Sent: Saturday, March 04, 2006 10:24 AM
To: users at lists.ironpython.com
Subject: [IronPython] System.XML and IronPython
Am I being really dumb? I want to access .NET's XML libraries, and I try:
from System import *
from System.Xml import *
and I get:
"ImportError: cannot import Xml from System"
What am I missing?
users mailing list
users at lists.ironpython.com
More information about the Ironpython-users