Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2
This is the forum to discuss the Wrox book Beginning XML, 4th Edition by David Hunter, Jeff Rafter, Joe Fawcett, Eric van der Vlist, Danny Ayers, Jon Duckett, Andrew Watt, Linda McKinnon; ISBN: 9780470114872
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 12th, 2008, 10:32 AM
Registered User
Join Date: Feb 2008
Location: Ottawa, , Canada.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default RSS Code for python 2.5 (pyxml Vs 4Suite)

Hey folks,

I'm working through Chapter 13 p.540-554

of course I am using python 2.5 and the code is designed to exploit pyxml which does not have a python 2.5 distro.

I have considered compiling. Maybe i'd compile on linux, but a windows box scares me. Just like glass, Windows tends to break when I try to clean something on it.

Any ideas of lines of code that need to be modified to accomodate 4suite instead of pyxml?

I have tried:


import xml.sax # old code
import Ft.Xml.Sax #new code, didn't work
from Ft.Xml import Sax # Second alternative. can not find SplitQname dll

something that did work, or at least passes bug test, full compile still fails due to above:


import xml.utils.iso8601 # old code
self.date = xml.utils.iso8601.parse(new_date)
import Ft.Lib.Time# new code works
self.date = Ft.Lib.Time.FromISO8601(new_date)
Any other ideas?

  #2 (permalink)  
Old February 12th, 2008, 10:49 AM
Registered User
Join Date: Feb 2008
Location: Ottawa, , Canada.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Found an interesting rescource http://livingpyxml.python-hosting.com/wiki/. Thye have a link to a compiled version of PyXml for Windows and Python 2.5

It would make things much easier than trying to re-factor the code.

I will try this out and report back


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Python? elvisfeverr Python 6 February 15th, 2019 02:30 AM
Python code optimization icopec Python 2 December 13th, 2011 05:13 AM
python arafat.eajaz Other Programming Languages 0 July 18th, 2008 03:16 AM
Browser RSS feed auto detection code here madok BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 September 29th, 2006 09:04 AM
code for rss work hsascubaboy RSS and Atom 2 May 29th, 2005 06:51 PM

All times are GMT -4. The time now is 04:53 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.