From jpabgrall at hotmail.com Sat Oct 1 02:01:40 2005 From: jpabgrall at hotmail.com (jp abgrall) Date: Sat, 01 Oct 2005 00:01:40 +0000 Subject: [XML-SIG] soon to be broken link in http://pyxml.sourceforge.net/topics/docs.html Message-ID: On: http://pyxml.sourceforge.net/topics/docs.html "Writing an application for a SAX-compliant XML parser" uses: http://www.hobby.nl/~scaprea/XML/ but should use: http://www.leverkruid.nl/XML/index.html -- From noreply at sourceforge.net Sun Oct 9 11:05:12 2005 From: noreply at sourceforge.net (SourceForge.net) Date: Sun, 09 Oct 2005 02:05:12 -0700 Subject: [XML-SIG] [ pyxml-Bugs-1319879 ] please update PyPI/cheeseshop Message-ID: Bugs item #1319879, was opened at 2005-10-09 01:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=1319879&group_id=6473 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Drew Perttula (drewp) Assigned to: Nobody/Anonymous (nobody) Summary: please update PyPI/cheeseshop Initial Comment: It would be really nice to say install_requires=['PyXML'] in a setuptools setup.py, but the cheeseshop page (http://www.python.org/pypi/PyXML/0.8.1) is out of date and incomplete. Please register a new version with cheeseshop and supply a download url so setuptools can do its automatic install. loewis and aaronsw are listed as owners on the cheeseshop entry, so they are probably the only ones who can do this. Thanks! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106473&aid=1319879&group_id=6473 From mcharest at sogetel.net Mon Oct 10 11:11:27 2005 From: mcharest at sogetel.net (mcharest@sogetel.net) Date: Mon, 10 Oct 2005 11:11:27 Subject: [XML-SIG] Can I use (and How to use) a DOM Validating Reader ... Message-ID: <20051010151130.C234E1E4864@bag.python.org> Hi, * I am a beginner with XML processing, so please bear with me ! * I have looked over the Python/XML HOWTO and I am currently reading Python & XML (Jones & Drake) O'Reilly book. Did not find what I am looking for. OBJECTIVES: --------------- * I would like to parse the attached XML file using Python and a simple DOM API, however I would like the following additional features: a) Use a Validating Reader (I would like to use a DTD at run-time within my application) b) XML processor to ignore all the trailing line feeds (used to visually format the XML file). SAMPLE XML FILE: --------------------- Find an apartment Use Google successful QUESTIONS: -------------- a) Does PyXML offer a Validating DOM Reader ? (Or, is a Validating Reader only available for SAX?) b) Would using a DOM Validating DOM Reader automatically eliminate the extra trailing line feeds in my DOM object ? If not, how do I get the DOM object to drop the extra line feeds ? c) Can I do the above without using the 4Suite XML package ? Many thanks, Michel From Uche.Ogbuji at fourthought.com Sun Oct 16 07:18:51 2005 From: Uche.Ogbuji at fourthought.com (Uche Ogbuji) Date: Sat, 15 Oct 2005 23:18:51 -0600 Subject: [XML-SIG] Can I use (and How to use) a DOM Validating Reader ... In-Reply-To: <20051010151130.C234E1E4864@bag.python.org> References: <20051010151130.C234E1E4864@bag.python.org> Message-ID: <1129439931.4600.119.camel@borgia> On Mon, 2005-10-10 at 11:11 +0000, mcharest at sogetel.net wrote: > Hi, > > * I am a beginner with XML processing, so please bear with me ! > > * I have looked over the Python/XML HOWTO and I am currently reading > Python & XML (Jones & Drake) O'Reilly book. Did not find what I am looking for. > > OBJECTIVES: > --------------- > * I would like to parse the attached XML file using Python and a simple DOM API, however I would like the following additional features: > a) Use a Validating Reader (I would like to use a DTD at run-time within my application) > b) XML processor to ignore all the trailing line feeds (used to visually format the XML file). > > SAMPLE XML FILE: > --------------------- > > > > > Find an apartment > Use Google > successful > > > > QUESTIONS: > -------------- > a) Does PyXML offer a Validating DOM Reader ? (Or, is a Validating Reader > only available for SAX?) Well you can build a DOM from SAX through the validating reader. > b) Would using a DOM Validating DOM Reader automatically eliminate the > extra trailing line feeds in my DOM object ? If not, how do I get the DOM object > to drop the extra line feeds ? Depending on your DTD, those interstitial newlines might be ignorable whitespace. They are unless they match a PCDATA pattern in the DTD. If they are, then they would come into SAX in an ignorableWhitespace event rather than characters. You could use this to tweak the creation of the DOM. > c) Can I do the above without using the 4Suite XML package ? I think you can by hacking the SAX2-based readers in 4DOM (which is part of PyXML, not 4Suite). Then again, 4Suite has a very fast SAX -> DOM walker. It doesn't validate, but it also has a very fast whitespace stripper that would eliminate the interstitial whitespace. -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://fourthought.com http://copia.ogbuji.net http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ From mhari2 at uic.edu Wed Oct 19 17:29:13 2005 From: mhari2 at uic.edu (Hari, Mahender) Date: Wed, 19 Oct 2005 10:29:13 -0500 (CDT) Subject: [XML-SIG] Help required with PyXML Message-ID: <1364.128.248.234.222.1129735753.squirrel@webmail.uic.edu> Hi, I am currently working on a project where I am using python and I am also using a XML file to provide the input params to the program. I happended to stumble upon PyXML, but the download link doesn't seem to work. Could you guys check that out. Also I am newbie to python and I want to know, is it possible to parse a DTD and use the constraits I specify in the DTD to regulate the input params i accept from the user in the GUI I am creating using wxpython(BOA constructor). Your advice would be much appreciated. regards, Mahender From anders at norrbom.info Wed Oct 19 17:38:22 2005 From: anders at norrbom.info (Anders Norrbom) Date: Wed, 19 Oct 2005 17:38:22 +0200 Subject: [XML-SIG] Help required with PyXML In-Reply-To: <1364.128.248.234.222.1129735753.squirrel@webmail.uic.edu> References: <1364.128.248.234.222.1129735753.squirrel@webmail.uic.edu> Message-ID: <4356686E.20800@norrbom.info> Hi Hari The only validating parser I know of for Python is xmlproc. I have had some problems with multibyte characters and xmlproc so I started to use pyexpat instead. /A Hari, Mahender wrote: >Hi, > >I am currently working on a project where I am using python and I am also >using a XML file to provide the input params to the program. I happended >to stumble upon PyXML, but the download link doesn't seem to work. Could >you guys check that out. Also I am newbie to python and I want to know, is >it possible to parse a DTD and use the constraits I specify in the DTD to >regulate the input params i accept from the user in the GUI I am creating >using wxpython(BOA constructor). Your advice would be much appreciated. > >regards, > >Mahender > >_______________________________________________ >XML-SIG maillist - XML-SIG at python.org >http://mail.python.org/mailman/listinfo/xml-sig > > From fredrik at pythonware.com Wed Oct 19 22:14:09 2005 From: fredrik at pythonware.com (Fredrik Lundh) Date: Wed, 19 Oct 2005 22:14:09 +0200 Subject: [XML-SIG] Help required with PyXML References: <1364.128.248.234.222.1129735753.squirrel@webmail.uic.edu> Message-ID: "Hari, Mahender" wrote: > I am currently working on a project where I am using python and I am also > using a XML file to provide the input params to the program. I happended > to stumble upon PyXML, but the download link doesn't seem to work. Could > you guys check that out. this page ? http://pyxml.sourceforge.net/ (the first google hit for "pyxml") the download link on that page points to a sourceforge download page, which allows you to download various pyxml releases from a lot of different mirrors. From uidmmc at martin-collins.de Sat Oct 22 19:49:10 2005 From: uidmmc at martin-collins.de (Martin Collins) Date: Sat, 22 Oct 2005 19:49:10 +0200 Subject: [XML-SIG] Missing modukes '_ssl', 'ext.IsDOMString', 'ext.SplitQName' ? Message-ID: <435A7B96.3050807@martin-collins.de> Hi, i get the following error message when i use py2exe on my application: The following modules appear to be missing ['_ssl', 'ext.IsDOMString', 'ext.SplitQName'] I've installed PyXML-0.8.4.win32-py2.4.exe. My version of python is 2.4 I've checked in the pyxml directories and these modules are not there. Anybody have an idea what I'm doing wrong? Thanks, Martin. From uche.ogbuji at fourthought.com Tue Oct 25 02:21:25 2005 From: uche.ogbuji at fourthought.com (Uche Ogbuji) Date: Mon, 24 Oct 2005 18:21:25 -0600 Subject: [XML-SIG] Subject: ANN: 4Suite XML 1.0b2 Message-ID: <1130199685.4600.462.camel@borgia> Today we release 4Suite XML 1.0 beta 2, now available from Sourceforge and ftp.4suite.org. The most important development is that 4Suite is being split into three separate packages: 4Suite XML - XML, XPath, XSLT, related technologies and support libraries 4Suite RDF - RDF processing libraries and stand-alone DBMS 4Suite Repository - XML and RDF repository The main reasons for this split are * The core XML libraries are much more mature than the rest of 4Suite, and indeed have been 1.0 quality for a long time * The size of the overall package gives pause to people who just want a basic XML processing toolkit The plans are to push 4Suite XML to 1.0 and then focus on 4Suite RDF and 4Suite Repository. Highlights of changes in 4Suite XML since the last release -- * New user manual and improvements to API documentation * Domlette: Convenience parse functions Ft.Xml.Parse and Ft.Xml.ParsePath * XSLT: XSLT processing convenience functions Ft.Xml.Xslt.Transform and Ft.Xml.Xslt.TransformPath * XML Catalogs: improved implementation and compliance * XInclude and XPointer: improved coverage of the spec * Yet more significant performance increases throughout: * XSLT: Fixed huge performance bug with large, complex transforms * Combined XML string routines into a single module Ft.Xml.Lib.XmlString - IsQName, IsNCName, IsName and IsNmtoken implemented in C - Removed Python versions of implemented functions * Domlette: switched struct allocs to use the Python object allocator (speed) * Domlette: changed callback qualified names to be reported as a struct instead of a string with parts separated by a special character (speed & memory) * Domlette: changed Node.prefix to be computed runtime rather than stored (memory) * Domlette: added interning of individual name parts (speed & memory) * Domlette: new parsing function ParseFragment (to replace NonvalParse(parseAsEntity=True)) * Saxlette: Ft.Xml.Domlette.SaxWalker class for walking a DOM and emitting SAX events as if from a parse * Saxlette: suspend and resume support, which allows users to create SAX applications using Python generator semantics * Saxlette: new ContentHandler (Ft.Xml.Sax.DomBuilder) for constructing Domlette Documents * Saxlette: improved compatability with PySAX * Saxlette: support for full LexicalHandler and ContentHandler interfaces * Fix case-sensitivity clashes in modules in some Windows set-ups * Improved DocBook utilities * moved SourceArgToInputSource from Ft.Xml.Lib to Ft.Lib.CommandLine.CommandLineUtil * RELAX NG: Add support for wxs string type facets maxLength, minLength and pattern * XPath: Added extension function typing information. Currently only used for documentation purposes but could lead to automatic type conversions. * Installation locations should be accessed in the form Ft.GetConfigVar('xxxDIR'), rather than the original Ft.xxxDIR * XPointer: new Ft.Xml.XPointer.Compile convenience function * XSLT: Add i18n in XSLT support (f:setup-translations and f:gettext ext elements) * XSLT: implement Extended versions of XSLT elements for debugging and execution tracing (Ft.Xml.Xslt.ExtendedProcessingElements) * XSLT: Support UTF-8 BOM in xsl:output and exsl:document (extension attribute f:utfbom)Support safegaurs against file overwrite in exsl:document (extension attribute f:overwrite-safeguard) * XSLT: Add prefix to namespace mapping to 4XSLT command line * Internal detail: Added UCS4/UTF-32 internal encoding support to Expat to allow for direct copying of XML_Char into Py_UNICODE thus preventing an unnecessary decoding step on our part. This also greatly simplifies XML_Char routines. 4Suite is a comprehensive platform for XML and RDF processing, with base libraries and a server framework. It is implemented in Python and C, and provides Python and XSLT APIs, Web and command line interfaces. 4Suite XML is the core set of XML, XPath, XSLT, related technologies and support libraries. For general information, see: http://4suite.org http://uche.ogbuji.net/tech/4Suite/ http://uche.ogbuji.net/tech/akara/nodes/2003-01-01/4suite-section For the files, see: ftp://ftp.4suite.org/pub/4Suite/ Sources: ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-1.0b2.tar.gz ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-1.0b2.tar.bz2 ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-1.0b2.zip Windows installer: ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-1.0b2.win32-py2.2.exe ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-1.0b2.win32-py2.3.exe ftp://ftp.4suite.org/pub/4Suite/4Suite-XML-1.0b2.win32-py2.4.exe You can also get the files on Sourceforge: https://sourceforge.net/projects/foursuite/ https://sourceforge.net/project/showfiles.php?group_id=39954 Documentation: In the locations specified above, with filenames of the form 4Suite-XML-docs-1.0b1.* Release notes -- The current installation directory layout document tells where package files are installed: http://4suite.org/docs/installation-locations.xhtml For insulation from Domlette implementation changes, developers should always use the generic Ft.Xml.Domlette APIs (rather than, say Ft.Xml.cDomlette). -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://fourthought.com http://copia.ogbuji.net http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ From zhu_dave at yahoo.com Tue Oct 25 21:21:10 2005 From: zhu_dave at yahoo.com (Dave) Date: Tue, 25 Oct 2005 12:21:10 -0700 (PDT) Subject: [XML-SIG] Python XML Profiling Message-ID: <20051025192111.68499.qmail@web30614.mail.mud.yahoo.com> Hello All, I'm trying to profile a Python XML program, but getting confused because of the results. It basically traverses an XML file. The gprof profiling results are as follows: % Time Self Seconds Calls Name 34.8 0.63 _moncount 10.5 0.19 mcount 10.5 0.19 20,427 _PyEval_EvalFrame 3.9 0.07 275,249 _lookdict_string ... 0.0 0.00 11,753 __PyString_Eq As I understand, _moncount and mcount are related with gprof and _PyEval_EvalFrame is the main interpreter loop. It seems this simple program spends a lot of time in the interpreter loop. I thought a program which handles XML would spend a lot of time on string processing, i.e. string matching. In this case, it spends just a little time on _lookdict_string, which does not even do string matching. However, the string matching function (__PyString_Eq) takes negligible time. How could this be possible? How does it achieve XML processing without exact string matching? Thank you for your help! Dave __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com From dkgunter at lbl.gov Wed Oct 26 22:08:37 2005 From: dkgunter at lbl.gov (Dan Gunter) Date: Wed, 26 Oct 2005 13:08:37 -0700 Subject: [XML-SIG] Python XML Profiling In-Reply-To: <20051025192111.68499.qmail@web30614.mail.mud.yahoo.com> References: <20051025192111.68499.qmail@web30614.mail.mud.yahoo.com> Message-ID: <435FE245.3040503@lbl.gov> Have you considered using the Python profiler? A co-worker of mine gave a presentation about it that might help you get started. http://dsd.lbl.gov/DSDlocal/DSDMeetings/PythonProfiler.ppt -Dan Dave wrote: >Hello All, > >I'm trying to profile a Python XML program, but >getting confused because of the results. It basically >traverses an XML file. The gprof profiling results are >as follows: > >% Time Self Seconds Calls Name >34.8 0.63 _moncount > 10.5 0.19 mcount > 10.5 0.19 20,427 _PyEval_EvalFrame > 3.9 0.07 275,249 _lookdict_string > ... > 0.0 0.00 11,753 __PyString_Eq > >As I understand, _moncount and mcount are related with >gprof and _PyEval_EvalFrame is the main interpreter >loop. It seems this simple program spends a lot of >time in the interpreter loop. I thought a program >which handles XML would spend a lot of time on string >processing, i.e. string matching. In this case, it >spends just a little time on _lookdict_string, which >does not even do string matching. However, the string >matching function (__PyString_Eq) takes negligible >time. How could this be possible? How does it achieve >XML processing without exact string matching? > >Thank you for your help! > >Dave > > > >__________________________________ >Yahoo! FareChase: Search multiple travel sites in one click. >http://farechase.yahoo.com >_______________________________________________ >XML-SIG maillist - XML-SIG at python.org >http://mail.python.org/mailman/listinfo/xml-sig > > From mike at skew.org Fri Oct 28 05:54:42 2005 From: mike at skew.org (Mike Brown) Date: Thu, 27 Oct 2005 21:54:42 -0600 (MDT) Subject: [XML-SIG] PyXML vs. stdlib xml.sax Message-ID: <200510280354.j9S3sgxg007652@chilled.skew.org> What exactly does PyXML's xml.sax offer that isn't in stdlib? I have been having trouble locating any docs that answer the question "why would I want to install this?" After looking in various places (mainly the source code), I get the impression that you would want PyXML's xml.sax libs if you... * want to use SAX in Python < 2.0 (xml.sax wasn't in stdlib until Python 2.0), or * want stdlib xml.sax bug fixes made after the release of your version of Python, or * want SAX 1 drivers, or * want a larger set of SAX 2 drivers (in stdlib there is only a driver for Pyexpat, whereas PyXML gives you drivers for PyXML's xmlproc and Python's htmllib, sgmlop, and sgmllib), or * want these enhancements that are not yet (and may never be) in Python xml.sax: * xml.sax.saxlib - SAX 2 core interface classes * additions to xml.sax.saxutils, including: * unescape(), a function which does the inverse of escape() * AttributeMap, a SAX 1 AttributeList implementation * Location, a SAX 1 & 2 Locator implementation * DefaultHandler, a SAX 2 DefaultHandler interface class * Canonizer, a SAX 1 DocumentHandler that produces Canonical XML * ContentGenerator, a SAX 1 DocumentHandler wrapper for XMLGenerator (which is an XML-serializing SAX 2 ContentHandler) * ESISDocHandler, a SAX 1 DocumentHandler that produces naive ESIS output * LexicalXMLGenerator, an XMLGenerator that also supports the SAX 2 LexicalHandler interface * BaseIncrementalParser, a minimal IncrementalParser for driver authors * EventBroadcaster, a class that relays method calls to multiple objects * xml.sax.saxexts - experimental extensions, including: * parser factories for XML, SGML, and HTML, supporting all the SAX 1 drivers in PyXML * ExtendedParser, an extension of the xml.sax.saxlib.Parser interface * xml.sax.sax2exts - experimental SAX 2-specific extensions, including: * parser factories for XML, SGML, and HTML, supporting all the SAX 2 drivers in PyXML Does this look right? What other differences are there? Thanks, Mike From mike at skew.org Fri Oct 28 13:27:37 2005 From: mike at skew.org (Mike Brown) Date: Fri, 28 Oct 2005 05:27:37 -0600 (MDT) Subject: [XML-SIG] PyXML vs. stdlib xml.sax In-Reply-To: <200510280354.j9S3sgxg007652@chilled.skew.org> Message-ID: <200510281127.j9SBRbvl014770@chilled.skew.org> I wrote: > * want to use SAX in Python < 2.0 (xml.sax wasn't in stdlib until Python 2.0) (notwithstanding the fact that support for Python <= 1.5 was dropped in PyXML 0.8) From uche.ogbuji at fourthought.com Fri Oct 28 22:29:35 2005 From: uche.ogbuji at fourthought.com (Uche Ogbuji) Date: Fri, 28 Oct 2005 14:29:35 -0600 Subject: [XML-SIG] ANN: Amara XML Toolkit 1.1.6 Message-ID: <1130531376.7385.32.camel@borgia> http://uche.ogbuji.net/tech/4suite/amara ftp://ftp.4suite.org/pub/Amara/ Changes since Amara 1.0: * Use Saxlette over Python stdlib SAX * Move from threads to generators for pushdom/pushbind * Simplify API. Make most key functions available from the amara module import amara amara.parse amara.pushbind amara.pushdom amara.create_document * Change node.xml_remove_child to take the child object to be removed * Add node.xml_remove_child_at which takes the index (as node.xml_remove_child used to) * Big performance improvements * Add xml_parse_fragment * Add quick reference * Add support for PIs and comments in XPath * Allow custom bindings for processing instructions (binder.set_pi_binding_class) * Upate date/time handling in type inferencer to use Gustavo Niemeyer's dateutil, if available ( http://labix.org/python-dateutil ) * Packaging fixes * Bug fixes and documentation improvements Amara XML Toolkit is a collection of Python tools for XML processing-- not just tools that happen to be written in Python, but tools built from the ground up to use Python idioms and take advantage of the many advantages of Python. Amara builds on 4Suite [http://4Suite.org], but whereas 4Suite focuses more on literal implementation of XML standards in Python, Amara focuses on Pythonic idiom. It provides tools you can trust to conform with XML standards without losing the familiar Python feel. The components of Amara are: * Bindery: data binding tool (a very Pythonic XML API) * Scimitar: implementation of the ISO Schematron schema language for XML; converts Schematron files to Python scripts * domtools: set of tools to augment Python DOMs * saxtools: set of tools to make SAX easier to use in Python * Flextyper: user-defined datatypes in Python for XML processing There's a lot in Amara, but here are highlights: Amara Bindery: XML as easy as py -------------------------------- Bindery turns an XML document into a tree of Python objects corresponding to the vocabulary used in the XML document, for maximum clarity. For example, the document What do you mean "bleh" But I was looking for argument Becomes a data structure such that you can write binding.monty.python.spam In order to get the value "eggs" or binding.monty.python[1] In order to get the value "But I was looking for argument". There are other such tools for Python, and what makes Anobind unique is that it's driven by a very declarative rules-based system for binding XML to the Python data. You can register rules that are triggered by XPattern expressions specialized binding behavior. It includes XPath support and supports mutation. Bindery is very efficient, using SAX to generate bindings. Scimitar: Schematron for Pytthon -------------------------------- Merged in from a separate project, Scimitar is an implementation of ISO Schematron that compiles a Schematron schema into a Python validator script. You typically use scimitar in two phases. Say you have a schematron schema schema1.stron and you want to validate multiple XML files against it, instance1.xml, instance2.xml, instance3.xml. First you run schema1.stron through the scimitar compiler script, scimitar.py: scimitar.py schema1.stron The generated file, schema1.py, can be used to validate XML instances: python schema1.py instance1.xml Which emits a validation report. Amara DOM Tools: giving DOM a more Pythonic face ------------------------------------------------ DOM came from the Java world, hardly the most Pythonic API possible. Some DOM-like implementations such as 4Suite's Domlettes mix in some Pythonic idiom. Amara DOM Tools goes even further. Amara DOM Tools feature pushdom, similar to xml.dom.pulldom, but easier to use. It also includes Python generator-based tools for DOM processing, and a function to return an XPath location for any DOM node. Amara SAX Tools: SAX without the brain explosion ------------------------------------------------ Tenorsax (amara.saxtools.tenorsax) is a framework for "linerarizing" SAX logic so that it flows more naturally, and needs a lot less state machine wizardry. License ------- Amara is open source, provided under the 4Suite variant of the Apache license. See the file COPYING for details. Installation ------------ Amara 1.1.6 requires Python 2.4 or more recent. If you do not have 4Suite XML 1.0b2, grab the Amara-allinone package. If you already have 4Suite XML installed, grab the stand along Amara package. In either case, unpack to a convenient location and run: python setup.py install -- Uche Ogbuji Fourthought, Inc. http://uche.ogbuji.net http://fourthought.com http://copia.ogbuji.net http://4Suite.org Articles: http://uche.ogbuji.net/tech/publications/ From walter at livinglogic.de Mon Oct 31 15:31:44 2005 From: walter at livinglogic.de (=?ISO-8859-1?Q?Walter_D=F6rwald?=) Date: Mon, 31 Oct 2005 15:31:44 +0100 Subject: [XML-SIG] XIST 2.13 released Message-ID: <43662AD0.8060500@livinglogic.de> XIST 2.13 has been released! What is it? =========== XIST is an extensible HTML/XML generator written in Python. XIST is also a DOM parser (built on top of SAX2) with a very simple and Pythonesque tree API. Every XML element type corresponds to a Python class, and these Python classes provide a conversion method to transform the XML tree (e.g. into HTML). XIST can be considered "object oriented XSL". What's new in version 2.13? =========================== * ll.xist.xsc.Namespace.tokenize() requires a unicode object as input now. This makes it possible to use encodings that are not ASCII compatible (such as UTF-16). The encoding argument is gone. * ll.xist.xsc.Node.asString() uses the encoding argument to determine which characters have to be output as character references now. (You'll still get a unicode object as the result.) * A new processing instruction class ll.xist.ns.specials.literal has been added, that will output it's content literally when published. This can be used for embedding preformatted XML (e.g. from a database) into an XIST tree. What's new in version 2.12? =========================== * Namespaces for Relax NG and Kid have been added. * XIST requires version 1.0 of the core package now. * The class name for the DocBook DTD class has been fixed. For changes in older versions see: http://www.livinglogic.de/Python/xist/History.html Where can I get it? =================== XIST can be downloaded from http://ftp.livinglogic.de/xist/ or ftp://ftp.livinglogic.de/pub/livinglogic/xist/ Web pages are at http://www.livinglogic.de/Python/xist/ ViewCVS access is available at http://www.livinglogic.de/viewcvs/ For information about the mailing lists go to http://www.livinglogic.de/Python/xist/Mailinglists.html Bye, Walter D?rwald From neyfakh at uic.edu Mon Oct 31 18:50:22 2005 From: neyfakh at uic.edu (Alex Neyfakh) Date: Mon, 31 Oct 2005 11:50:22 -0600 Subject: [XML-SIG] "borrowing" one of your modules Message-ID: <5.2.0.9.2.20051031114244.02799408@mailserv.uic.edu> I would like to request your permission to "borrow" one of the modules (DTDparser.py) from your PyXML package that we would like to include into our software after making some modifications to it. Our software is being written purely for research purposes and will be available for free download. We plan to acknowledge the origin of the module in its docstring. Is this OK with you? Thanks much in advance for your reply. Sincerely, Alex Alex Neyfakh, Professor Center for Pharmaceutical Biotechnology M/C 870 University of Illinois at Chicago 900 S. Ashland Ave. Rm. 3020 Chicago, IL 60607 phone (312)996-7231; fax (312)413-9303