From dudek at cim.mcgill.ca Mon Mar 5 21:31:30 2007 From: dudek at cim.mcgill.ca (Gregory Dudek) Date: Mon, 5 Mar 2007 15:31:30 -0500 Subject: [XML-SIG] pyxml status report Message-ID: Somebody who can write to the sourceforge pyxml site really should update the "topics" page ( http://pyxml.sourceforge.net/topics/ ) as well as the "web home" ( http://pyxml.sourceforge.net/ ). These are the first places you get to if you Google "python xml" and they are both rather misleading, discouraging and/or obsolete (e.g. saying "PyXML is no longer maintained", without saying that's because it is no longer needed). I think this is not a very good way to evangelize python either. I'd do it myself it I could, but I am hoping somebody here is on the developers list. In fact the other top hits are also misleadingly obsolete! Greg From dieter at handshake.de Tue Mar 6 21:27:48 2007 From: dieter at handshake.de (Dieter Maurer) Date: Tue, 6 Mar 2007 21:27:48 +0100 Subject: [XML-SIG] python and xslt In-Reply-To: References: Message-ID: <17901.52932.36709.528633@gargle.gargle.HOWL> Ken Sayers wrote at 2007-2-24 12:52 -0500: >I have looked around for support in Python for XSLT. I see there is the >4Suite.org package. Are there others? I would really like to use XSLT 2.0. I would look at "libxml2/libxslt" and their Python bindings. There is also "lxml" which is a "more Pythonic" bindung to "libxml2/libxslt". -- Dieter From SpassUndMehr at gmx.de Wed Mar 14 08:58:05 2007 From: SpassUndMehr at gmx.de (SpassUndMehr at gmx.de) Date: Wed, 14 Mar 2007 08:58:05 +0100 Subject: [XML-SIG] Python and Schematron Message-ID: <20070314075805.157300@gmx.net> Hello, i'm working with python and xml. Is there a tool in python to validate xml-files with schematron? Thanks, N.P. -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer From morillas at gmail.com Wed Mar 14 10:00:53 2007 From: morillas at gmail.com (Luis Miguel Morillas) Date: Wed, 14 Mar 2007 10:00:53 +0100 Subject: [XML-SIG] Python and Schematron In-Reply-To: <20070314075805.157300@gmx.net> References: <20070314075805.157300@gmx.net> Message-ID: <68d25cbc0703140200m43c2682ayfeee82d52287b266@mail.gmail.com> Try scimitar (an amara[1] component). Look at this example [2] [1] http://notes.4suite.org/AmaraXmlToolkit [2] http://platea.pntic.mec.es/~jmorilla/amara/manual/#scimitar -- lm 2007/3/14, SpassUndMehr at gmx.de : > Hello, > i'm working with python and xml. Is there a tool in python to > validate xml-files with schematron? > Thanks, > N.P. > -- > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > _______________________________________________ > XML-SIG maillist - XML-SIG at python.org > http://mail.python.org/mailman/listinfo/xml-sig > From martin at v.loewis.de Wed Mar 14 23:26:25 2007 From: martin at v.loewis.de (=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=) Date: Wed, 14 Mar 2007 23:26:25 +0100 Subject: [XML-SIG] pyxml status report In-Reply-To: References: Message-ID: <45F87691.3030402@v.loewis.de> Gregory Dudek schrieb: > Somebody who can write to the sourceforge pyxml site really should > update the "topics" page ( http://pyxml.sourceforge.net/topics/ ) > > as well as the "web home" ( http://pyxml.sourceforge.net/ ). > > These are the first places you get to if you Google "python xml" and > they are both rather misleading, > discouraging and/or obsolete (e.g. saying "PyXML is no longer > maintained", without saying that's because it > is no longer needed). > > I think this is not a very good way to evangelize python either. I'd > do it myself it I could, but I am hoping somebody here is > on the developers list. Please send me the precise list of changes you want to see, and I implement them. Regards, Martin From ktenney at gmail.com Tue Mar 20 13:05:09 2007 From: ktenney at gmail.com (Kent Tenney) Date: Tue, 20 Mar 2007 12:05:09 +0000 (UTC) Subject: [XML-SIG] Writing XML files with ElementTree Message-ID: Howdy, I don't understand how ET provides an XML Declaration as the file output by ElenemtTree.write() write() says elif encoding != "utf-8" and encoding != "us-ascii": file.write("\n" % encoding) How do I get the declaration written if I want encoding to be utf-8 ? Do I need to manually paste it into the top of the file produced by ET.write() I haven't found a lot of documentation on using ElementTree to produce XML. Thanks, Kent From fredrik at pythonware.com Tue Mar 20 16:13:29 2007 From: fredrik at pythonware.com (Fredrik Lundh) Date: Tue, 20 Mar 2007 16:13:29 +0100 Subject: [XML-SIG] Writing XML files with ElementTree References: Message-ID: Kent Tenney wrote: > write() says > > elif encoding != "utf-8" and encoding != "us-ascii": > file.write("\n" % encoding) > > How do I get the declaration written if I want > encoding to be utf-8 ? since it's usually not needed (the declaration is optional if the file's using UTF-8 or a compatible encoding), you have to add it yourself. the upcoming 1.3 release has a "xml_declaration" option that gives you more control over this. lxml.etree also implements that, iirc. From ktenney at gmail.com Thu Mar 22 12:06:51 2007 From: ktenney at gmail.com (Kent Tenney) Date: Thu, 22 Mar 2007 11:06:51 +0000 (UTC) Subject: [XML-SIG] Writing XML files with ElementTree References: Message-ID: Fredrik Lundh pythonware.com> writes: > > Kent Tenney wrote: > > > write() says > > > > elif encoding != "utf-8" and encoding != "us-ascii": > > file.write("\n" % encoding) > > > > How do I get the declaration written if I want > > encoding to be utf-8 ? > > since it's usually not needed Surprises me, looks so _necessary_ but http://www.w3.org/TR/2006/REC-xml-20060816/#sec-prolog-dtd says [Definition: XML documents SHOULD begin with an XML declaration which specifies the version of XML being used.] I certainly don't do all I SHOULD :-] Thanks, Kent (the declaration is optional if the file's using > UTF-8 or a compatible encoding), you have to add it yourself. > > the upcoming 1.3 release has a "xml_declaration" option that gives you > more control over this. lxml.etree also implements that, iirc. > > > > _______________________________________________ > XML-SIG maillist - XML-SIG python.org > http://mail.python.org/mailman/listinfo/xml-sig > > From cfbearden at gmail.com Thu Mar 22 19:31:15 2007 From: cfbearden at gmail.com (Chuck Bearden) Date: Thu, 22 Mar 2007 13:31:15 -0500 Subject: [XML-SIG] python and xslt In-Reply-To: <17901.52932.36709.528633@gargle.gargle.HOWL> References: <17901.52932.36709.528633@gargle.gargle.HOWL> Message-ID: <433ebc870703221131n4e623d2fpe17a53d0efa44515@mail.gmail.com> On 3/6/07, Dieter Maurer wrote: > Ken Sayers wrote at 2007-2-24 12:52 -0500: > >I have looked around for support in Python for XSLT. I see there is the > >4Suite.org package. Are there others? I would really like to use XSLT 2.0. > > I would look at "libxml2/libxslt" and their Python bindings. > > There is also "lxml" which is a "more Pythonic" bindung to > "libxml2/libxslt". The last I heard, the libxml2/libxslt1 project has no intention of adding support for XSLT 2.0. Most recently: Chuck From stevesnow at stevesnowsresume.com Thu Mar 22 20:55:35 2007 From: stevesnow at stevesnowsresume.com (stevesnow) Date: Thu, 22 Mar 2007 12:55:35 -0700 Subject: [XML-SIG] Resume of Steve Snow : Database SQL Applications Programmer Message-ID: <7e98328f2204a41caf07097608d39ee2@stevesnowsresume.com> Here is my full resume: http://www.sworde.com/resume2.doc Please forward this work experience & skills summary to your Database & software development, MIS/IT/Software Department for review. ---------------------------------------------- Resume of Steve Snow ---------------------------------------------- Database SQL Applications Programmer ---------------------------------------------- Phone: 970-300-4770 ---------------------------------------------- stevesnow10 at hotmail.com ---------------------------------------------- Here is my full resume: http://www.sworde.com/resume2.doc Work Experience: * 20+ Years Database & Software Application developer * References available on request. * Create/Fix/Change/Convert Databases. * Display your data on your website, any number of pages in html/PHP/ASP. * Graphs, Maps, Charts, Diagrams, Pictures, Photos, and Graphics in Database and Reports. * Mail Merge of Databases/Information/Spreadsheets/Programs. * Create reports from Data such as PDF, Spreadsheet or HTML. * Sales leads for clients using Internet Resources. * Solving almost any job any data from any program source. * Fill out Website Forms automatically, or gather intelligence from them. * Exchange data from any number of programs, including websites. * Create inter office communication between cities/locations using Internet. * Inventory, Sales Lead, Accounting, Statistical Database Creation. * Meetings with employees to understand their needs/solution they wanted. * Training of personnel in all above systems. * Write software to perform the above jobs. * Problem solve any data question/problem you may have. * Transfer data between any number of unrelated programs, including websites. * Merge Data from unrelated programs and databases. * Test your entire website for errors by automatically filling in all your webforms on all your webpages. * Screenscrape, Webscraping, and Datamining from the internet straight to your custom databases. * Chief Developer and programmer for above with 30 years experience. Here is my full resume: http://www.sworde.com/resume2.doc ---------------------------------------------- Skills: * All VB/VBA,COM/ActiveX,DOM,SOAP, .NET * All SQL programming, Oracle (incl. PL/SQL),MS Access,SQL Server,Sybase * XML,HTML * All database access methods, ADO (ActiveX Data Objects),DAO (Data Access Objects),Microsoft Jet, ODBC * Operating systems, Windows NT 4.0 / 2000 / XP,Windows 95 / 98,ndows 3.1 / 3.11 ---------------------------------------------- Availability: * By the job or task/requirement (bid). * Contract or Independent Consultant * Full or part time Employee. * Can fly in and be available for "Live" meetings on short notice. * Remote desktop (anywhere in the world, using XP Pro and above). ---------------------------------------------- Bondable/References * SECRET Clearance (US Government) * Fully bondable * Non-disclosure/Confidentiality Agreements. ---------------------------------------------- Education * US Military, includes "SECRET" Clearance, University, Trade Schools & Certifications. ---------------------------------------------- Citizenship * Us Citizen. ---------------------------------------------- Vehicle/License * Class "A" License ---------------------------------------------- Special Mention * Can sign a waiver to not use your Company's Medical Insurance Policy (Already covered by US Veteran's Administration Medical Insurance) Here is my full resume: http://www.sworde.com/resume2.doc From stanthony at americancatholic.org Fri Mar 23 04:16:15 2007 From: stanthony at americancatholic.org (St. Anthony Messenger Press) Date: Thu, 22 Mar 2007 23:16:15 -0400 Subject: [XML-SIG] ALERT: Virus Removed Message-ID: <093f01c76cf9$9e0e9200$4e01a8c0@stanthony.americancatholic.org> Dear Visitor, This is an automatic reply to thank you for sending a message to AmericanCatholic.org. We appreciate your comments. A staff member reads each one to determine how it should be processed. For queries to St. Anthony Messenger magazine, under normal circumstances you can expect a response within three weeks. Manuscript and poetry submissions however may take up to eight weeks for evaluation and response. You'll find writers' guidelines at the following link www.AmericanCatholic.org/ContactUs/writers.asp If your message regards a St. Anthony Messenger Press product, it will be forwarded to the customer service department. You can reach them directly at the e-mail address SamAdmin at AmericanCatholic.org Peace and All Good! St. Anthony Messenger Press Franciscan Communications www.AmericanCatholic.org St. Anthony Messenger 28 W. Liberty St. Cincinnati, OH 45202 513-241-5615 From divyas15 at gmail.com Tue Mar 27 12:03:01 2007 From: divyas15 at gmail.com (divya --) Date: Tue, 27 Mar 2007 15:33:01 +0530 Subject: [XML-SIG] bug in sax library of python2.4.3 Message-ID: <100f884f0703270303g671586e8u30b127e8fb257d85@mail.gmail.com> In python2.4.3, there's a bug in saxutils.py file of sax library ....... to make the things work, just comment out line 139, which is a part of startElementNS() funtion. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20070327/14a9a878/attachment.htm From tvicens at vinissimus.com Thu Mar 29 10:28:13 2007 From: tvicens at vinissimus.com (Toni Vicens Arasanz) Date: Thu, 29 Mar 2007 10:28:13 +0200 Subject: [XML-SIG] Debugging adwords SOAP service Message-ID: <460B789D.8040405@vinissimus.com> Hello list, Could anybody help me to debug a SOAP service problem? I'm really stuck with it! I'm trying to update adwords ads using their SOAP services. Here is the code I'm trying to run: AdService = SOAPpy.SOAPProxy('https://adwords.google.com/api/adwords/v9/AdService', header = headers, encoding="ISO-8859-15") AdService.config.debug = 0 ad = AdService.getAd(int(request['adgroupid']), SOAPpy.Types.longType(long(request['adid']))) ad.status = SOAPpy.Types.untypedType('Disabled') AdService.updateAds([ad]) And here is the error I'm getting: Error Type: faultType Error Value: ('soapenv:Server.userException', "The request did not contain a header named 'email'.", : {'fault': : {'message': "The request did not contain a header named 'email'.", 'code': '1'}}) Here is the definition of the service https://adwords.google.com/api/adwords/v9/AdService?wsdl In order to debug the problem I turned on xml debugging on AdService.config.debug = 1 and I was able to confirm that when updateAds is called the "header" which should carry information as email, password, developerToken, etc. are not beeing sent. Any ideas where I should look next? Thank you very much in advance, Toni. From jldunn2000 at yahoo.co.uk Sat Mar 31 15:34:10 2007 From: jldunn2000 at yahoo.co.uk (John Dunn) Date: Sat, 31 Mar 2007 13:34:10 +0000 (GMT) Subject: [XML-SIG] PyXML on AIX Message-ID: <20070331133410.36132.qmail@web23003.mail.ird.yahoo.com> I have been asked to install a python application on AIX 5.3 that runs OK on Windows I have installed Python 4.2.2 from python.org and pyXML form sourceforge. However when I run the application I get the following error : class xml.sax._exceptions.SAXReaderNotAvailable Do I need to set some Python environment variables? Can I test the availibility of this from the python command line. e.g import something? I am new to Python ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/xml-sig/attachments/20070331/81c99140/attachment.htm