systemID: http://blommie:15080/xml/registry/simple.xsl
After the final line, Zope stops responding to web requests until I
restart it. HuH?
> This would be great to get working under libxslt-- that way you could
> still use relative URLs even though URNs won't yet work.
Absolutely. I've got both libxslt and FourSuite12 as options now, but
I find myself leaning toward libxslt, perhaps irrationally -- it feels
simpler.
> Let me know how this works for you (you _are_ using 4Suite 12, right?)
Yes. How should I describe my system to you to be useful?
jean@blommie XMLTransform $ cat version.txt
0-8-0
jean@blommie XMLTransform $ grep XSLTProcessor XMLTransform.py
#from FourSuite11Processor import FourSuite11Processor as XSLTProcessor
from FourSuite12Processor import FourSuite12Processor as XSLTProcessor
#from LibXsltProcessor import LibXsltProcessor as XSLTProcessor
import zLOG; zLOG.LOG('XMLTransform:', 0, 'Imported XSLTProcessor:
%s'%XSLTProcessor)
[...]
jean@blommie XMLTransform $ python2.1
Python 2.1.1 (#1, Feb 11 2002, 13:38:38)
[GCC 2.95.3 20010315 (release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import Ft
>>> print Ft.__revision__
$Id: __init__.py,v 1.16 2002/09/05 02:47:04 molson Exp $
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From jean at upfrontsystems.co.za Tue Sep 10 12:28:44 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] DocBook processing HowTo (long)
Message-ID: <3D7E1DBC.9020604@upfrontsystems.co.za>
Hi all
I'm writing up what we're trying to accomplish here. I thought I'd post
it to the list, thinking that perhaps other people might find it
useful.
Actually, the whole thing is really a plea for correction and pointers!
I start out talking about DocBook generally and commandline processing
to get HTML and PDF, but then I get to Zope and XMLTransform. The
document ends a bit bluntly there, because I haven't been able to make
XMLTransform do anything useful with DocBook:
makes my Zope catatonic.
Here you go:
Publishing framework
We get Word documents from BIS. We want to get them into DocBook for
purposes of storage and publication.
- DocBook is good for storage because it can easily be indexed, and
earlier versions can be processed and brought up to date with the
appropriate versions of the stylesheets.
- DocBook is good for publication because it can be transformed
flexibly. The distribution comes with XSL stylesheets to produce
various flavours of HTML, and XSL-FO (Formatting Objects). FO is
meant to be used for generating print output.
I'll discuss these publishing steps:
Converting Word docs to DocBook (Autoconversion, Editorial markup of
the converted DocBook),
Processing DocBook from the commandline,
Processing DocBook within Zope.
Converting Word docs to DocBook
Autoconversion step
We receive Word doc files for publication. Currently, BIS do not use
any stylesheet or consistency guidelines, so the Word docs cannot be
autoconverted very successfully. The cleanest route that I currently
know is via the wvware suite::
$ wvHtml "Input Word document.doc" wvHtml_output.html && \
tidy -indent -clean -asxml wvHtml_output.html > tidy_output.html
The 'tidy' options: '-clean' turns this (baarf)::
into this (phew)::
with corresponding CSS classes in a 'style' block in the 'head'::
div.c2 {padding: 0.00mm 0.00mm 0.00mm 0.00mm; text-align: left}
p.c1 {background-color: White; color: Black; font-weight: bold;
line-height: 4.166667mm; text-align: left; text-indent:
0.00mm}
The '-asxml' option ensures that there is no whitespace between
attribute names and values, and that singleton tags are closed, as
this 'diff' illustrates::
-
+
(...)
-
+ |
Therefore, the output of tidy ('tidy_output.html' above) can be
transformed by an XSL stylesheet, which should be able to do the
following (in increasing order of difficulty, from my current
viewpoint):
- simply replace HTML tags with the corresponding DocBook tags::
- Remove empty elements (block elements with no PCDATA in their
children), such as::
- Insert required attributes, derived from HTML, such as the
number of columns in a table ('cols').
If we have few documents to convert, we can stop autoprocessing
after the 'tidy' step. If we have many over a long period, it will
become worthwhile to interpose stylesheets for more massaging.
However it's done, the output of this transformation is the input
for the next step: editorial markup.
Editorial markup
There is more information in the Word document than survives the
conversion. This information is either coded only visually and
contextually in the Word doc (a personal name on the title page,
usually right-aligned, can be assumed to be the author), or it is
inconsistently marked up (headers are sometimes 'hN' elements, but
sometimes only plain paragraphs in large text). This information
needs a human to recognize and markup. Here are the kinds of
semantic markup that we'll want to do:
- Document metadata: title, author, publication date, revision
history, contact information, abstract, ...
- Inline metadata: Table titles and figure captions, quotations
(to distinguish them from emphasis or "irony" quotes), the
titles of sources, citations of references, foreign phrases,
acronyms, crossreferences (eg. furnishing of 'xreflabel') ...
- Document parts: most have bibliographies, some have glossaries
or lists of acronyms.
Bibliographies can become very complex. If we markup them
lightly, we don't stand to get that much back out of them. If
we markup them carefully, we could have a sitewide citations
database. This would have advantages such as: consistency
across documents; editors/visitors would be able to see which
sources/authors are cited most often by BIS; if we maintain a
central bibliography, all documents that cite a source benefit
if it is updated (this might be particularly useful in the
case of online sources with URLs that change). See
"Refdb":http://refdb.sourceforge.net/
A sitewide glossary of acronyms/institutions would also be
nice to have.
Editing environment: the idea is that we outsource the markup, and
so Vim isn't necessarily the most obvious choice as editor. For
those who live in it, Vim offers a DocBook mode, which will alert
you to non-DocBook tags or attributes thru syntax highlighting
(however, Vim's syntax file isn't up to date, so it misrecognizes
eg. 'articleinfo', introduced in DocBook v.4. We're currently at
4.2) and 'matchit.vim', which matches start and end tags (though it
doesn't realize that 'docbk' is also an 'xml' mode, so you have to
go to XML mode or hack 'matchit.vim').
I haven't found a nice free XML-aware editor yet. Here are some
lists: Dave Pawson's: http://www.dpawson.co.uk/docbook/tools.html#d6e237
Gary Lawrence Murphy's: http://teledyn.com/help/XML/?Editors
Perhaps "jaxe":http://jaxe.sourceforge.net/Jaxe_en.html
Processing DocBook from the commandline
For commandline XML processing, I have looked at 4Suite, PyXML,
libxml2 and libxslt.
**libxml2 and libxslt** are the XML-processing components of the
Gnome project. Coded by Daniel Veillard in C. They seem to be quite
solid and fast. They are meant to be used firstly as libraries in
the Gnome environment, but come with some commandline tools and
there are Python bindings available.
HTML
To process a DocBook XML file to HTML::
$ xsltproc /.../docbook/xsl-stylesheets-1.52.2/html/docbook.xsl \
/.../docbook/paper-input.xml > /.../docbook/paper-output.html
This outputs a HTML file. To use this in Zope, you'd want to strip
off the 'html' and 'body' tags, and the 'head' section.
PDF
To process a DocBook XML file to PDF, the main options seem to be
'passivetex' and the Apache project's 'fop'. Both are a bit of a
PITA. 'passivetex' is more mature, and as it's written in TeX, the
output document is beautifully typeset. However, it's very sparsely
documented. At the moment, you have to "patch the
release":http://sourceforge.net/tracker/index.php?func=detail&aid=593600&group_id=21935&atid=373747
to make it work with recent DocBook XSL. Personally, I've never had
the time to make TeX do anything it doesn't do by default :(
'fop' is written in Java, and the output PDF isn't really gorgeous.
I'm a Java illiterate, so I don't know the Right Way to install
this. If anyone can advise, please do. I got it to work as follows
.. First get a '.fo' file from 'xsltproc', and then run 'fop' on
that::
$ xsltproc /.../docbook/xsl-stylesheets-1.52.2/fo/docbook.xsl \
/.../docbook/paper-input.xml > /.../docbook/paper-output.fo
$ cd /.../fop-0.20.4
$ export JAVA_HOME=/opt/blackdown-jdk-1.3.1/
$ ./build.sh
$ ./fop.sh /.../docbook/paper-output.fo /.../docbook/paper-output.pdf
Processing DocBook within Zope
Prerequisites for Python
Setup is not hassle-free. AFAICT, you need to install either Gnome's
libxml2 and libxslt, or PyXML and 4Suite 0.11, or 4Suite 0.12 alone
(1). I think it's fine to install all of them, but I'd like
reassurance on this point.
(1) From the 4Suite distro::
Prior to 4Suite-0.12.0 release, PyXML was required to use
4Suite. 4Suite now no longer requires PyXML, as long as expat
and pyexpat are installed.
If you need DTD validation, or some advanced DOM processing
tools, you should install PyXML 0.7 or higher
The latest 4Suite release is 0.11.1, which works with PyXML 0.6.6
*exactly*. Lots has changed in PyXML since 0.6.6 (eg. namespace
processing). To use PyXML 0.7.1 with 4Suite, you need to get a CVS
snapshot of the 4Suite 0.12 branch. See
http://4suite.org/docs/4SuiteCVS.xml for instructions.
Simplest by far seems to be to just install a recent snapshot, if
you want 4Suite.
libxml2 and libxslt
I'm on Gentoo Linux, so 'emerge libxml2 libxslt' installs the
libraries for the python reported by 'python -V', eg. Python 2.2.1.
This is not a python used by Zope yet. Check the INSTANCE_HOME
'start' files to ascertain which Zopes run what, and 'python2.1 -V'
to see exactly which version this is: eg.::
jean@blommie jean $ python2.1 -V
Python 2.1.1
The libxslt Python bindings need to be installed for *this* Python.
The Zope 2.5.1 binary distro ships with Python 2.1.3 .. It doesn't
look like libxml2/libxslt or 4Suite have hard dependencies on the
Python minor version number, but I wouldn't swear to that.
To install the libxslt bindings for other Python versions, I got
hold of 'libxml2-python-2.4.24.tar.gz' and::
$ tar xzvf libxml2-python-2.4.24.tar.gz
$ cd libxml2-python-2.4.24/
$ python2.1 setup.py install
Anyway, by now we should have fulfilled XML Transform's
prerequisites.
XML Transform for Zope
The most flexible and robust XSL tool for Zope seems to be Ariel
Partners' XML Transform. It differs from ParsedXML in that it
does not focus on exposing the DOM of XML objects to scripts etc.
inside Zope. ParsedXML would have been compatible with XMLTransform
if calling a ParsedXML object returned the raw XML representation of
the object. It's a small change; maybe it's happened by now.
In contrast, XMLTransform pairs up an XML source and XSL
stylesheets::
XMLSource -> XMLTransform <- XSLStylesheet
|
V
Output (can be HTML, XML, XSL, PDF, ...)
The source document can be DTMLDocument, DTMLMethod, File,
ExternalFile, ... anything that returns a valid string of XML when
called (this means that XMLTransforms can be chained, the output of
one forming the input of the other). Similarly, the XSL stylesheet
can be anything that returns XSL. However, the XMLTransform can be
configured to parse the stylesheet as either DTML or ZPT -- making
the stylesheet dynamic -- before applying it to the XML.
In principle, XMLTransform abstracts the XSL processor used.
Currently, it can make use of libxslt or 4Suite, with the usual
caveats .. URIs with namespaces wasn't available for libxslt, as
libxslt doesn't export the bindings to Python.
Local relative path resolution wasn't working last I looked, but
Craeg Strong fixed it. I haven't been able to unbreak my
installation since then, though, so I haven't tasted the fruits of
his labour.
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From uche.ogbuji at fourthought.com Tue Sep 10 13:07:54 2002
From: uche.ogbuji at fourthought.com (Uche Ogbuji)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Re: XML Transform doc bug ..
In-Reply-To: Message from Jean Jordaan
of "Tue, 10 Sep 2002 17:19:21 +0200." <3D7E0D79.3020105@upfrontsystems.co.za>
Message-ID:
> Craeg Strong wrote:
> > I think that 4Suite 12 + PyXML 7.1 will be a good
> > option, as soon as they (4Suite) fix a few more bugs.
>
> Hmm, I just noticed this:
>
> Prior to 4Suite-0.12.0 release, PyXML was required to use
> 4Suite. 4Suite now no longer requires PyXML, as long as expat
> and pyexpat are installed.
>
> If you need DTD validation, or some advanced DOM processing
> tools, you should install PyXML 0.7 or higher
>
> (from docs/xml/HowTos/UNIX.doc in 2002-09-10-4Suite.tar.gz )
>
> So your remark above is aimed at that "If you need DTD validation ..."?
Oops. Even that is up to date. 4Suite now supports fast DTD valiidation.
I'll touch up the docs.
You still need PyXML for some of the utilities in xml.dom.ext, and for some
advanced SAX stuff as well.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
Basic XML and RDF techniques for knowledge management, Part 7 -
http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/libra
ry/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF -
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A
1EA5A2CF4621C386256BBB006F4CEC
From uche.ogbuji at fourthought.com Tue Sep 10 13:22:06 2002
From: uche.ogbuji at fourthought.com (Uche Ogbuji)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Trying to get 4Suite and XMLTransform up and running
In-Reply-To: Message from Jean Jordaan
of "Tue, 10 Sep 2002 17:47:44 +0200." <3D7E1420.2030703@upfrontsystems.co.za>
Message-ID:
> ------
> 2002-09-10T15:25:30 INFO(0) XMLTransform inside transform
> ------
> 2002-09-10T15:25:30 INFO(0) XMLTransform inside transformGuts
> ------
> 2002-09-10T15:25:30 INFO(0) XMLTransform styleSrc:
> 0x9601774> systemID: http://blommie:15080/xml/registry/simple.xsl
>
> After the final line, Zope stops responding to web requests until I
> restart it. HuH?
Sounds like a blocked thread. What happens I/O-wise after the resolution?
> > This would be great to get working under libxslt-- that way you could
> > still use relative URLs even though URNs won't yet work.
I'm not familiar with XMLTransform, but why would relative URLs not work with
4Suite? They certainly work just fine in plain 4Suite.
> Absolutely. I've got both libxslt and FourSuite12 as options now, but
> I find myself leaning toward libxslt, perhaps irrationally -- it feels
> simpler.
Perhaps. But I'm curious as to your thinking. Maybe there is something we
should address in 4Suite. Is it something specific to the Zope setup?
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
Basic XML and RDF techniques for knowledge management, Part 7 -
http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/libra
ry/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF -
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A
1EA5A2CF4621C386256BBB006F4CEC
From cstrong at arielpartners.com Tue Sep 10 14:12:07 2002
From: cstrong at arielpartners.com (Craeg K Strong)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Re: XML Transform doc bug ..
References:
Message-ID: <3D7E35F7.1090204@arielpartners.com>
Hello Jean and Uche:
I just downloaded and installed the 9/10 CVS snapshot of 4Suite,
and I installed my system as follows:
Red Hat Linux 7.2
Zope 2.5.1
4Suite 9/10/2002
My test suite reports the following error:
python alltests.py
SOFTWARE_HOME: /opt/Zope-2.5.1-linux2-x86/lib/python
INSTANCE_HOME: /opt/Zope-2.5.1-linux2-x86/lib/python/Testing
Loading Zope, please stand by ... done (3.864s)
You must either install PyXML v0.7.1 or recompile your python with PyExpat
support to use 'StylesheetReader.py'
None of my code calls StylesheetReader directly, so maybe this is due
to the fact that I am substituting my own InputSource?
Anyway, its fine either way. If this is intended, then the docs are correct
as is, and PyXML 0.7.1 *is* required. Otherwise, if we can remove this
dependency, I will update my docs to indicate that PyXML is *not*
required for XMLTransform.
Thanks,
--Craeg
Uche Ogbuji wrote:
>>Craeg Strong wrote:
>>
>>>I think that 4Suite 12 + PyXML 7.1 will be a good
>>>option, as soon as they (4Suite) fix a few more bugs.
>>
>>Hmm, I just noticed this:
>>
>> Prior to 4Suite-0.12.0 release, PyXML was required to use
>> 4Suite. 4Suite now no longer requires PyXML, as long as expat
>> and pyexpat are installed.
>>
>> If you need DTD validation, or some advanced DOM processing
>> tools, you should install PyXML 0.7 or higher
>>
>> (from docs/xml/HowTos/UNIX.doc in 2002-09-10-4Suite.tar.gz )
>>
>>So your remark above is aimed at that "If you need DTD validation ..."?
>
>
> Oops. Even that is up to date. 4Suite now supports fast DTD valiidation.
> I'll touch up the docs.
>
> You still need PyXML for some of the utilities in xml.dom.ext, and for some
> advanced SAX stuff as well.
From uche.ogbuji at fourthought.com Tue Sep 10 16:11:09 2002
From: uche.ogbuji at fourthought.com (Uche Ogbuji)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Re: XML Transform doc bug ..
In-Reply-To: Message from Craeg K Strong
of "Tue, 10 Sep 2002 14:12:07 EDT." <3D7E35F7.1090204@arielpartners.com>
Message-ID:
> Hello Jean and Uche:
>
> I just downloaded and installed the 9/10 CVS snapshot of 4Suite,
> and I installed my system as follows:
>
> Red Hat Linux 7.2
> Zope 2.5.1
> 4Suite 9/10/2002
>
> My test suite reports the following error:
>
> python alltests.py
> SOFTWARE_HOME: /opt/Zope-2.5.1-linux2-x86/lib/python
> INSTANCE_HOME: /opt/Zope-2.5.1-linux2-x86/lib/python/Testing
> Loading Zope, please stand by ... done (3.864s)
> You must either install PyXML v0.7.1 or recompile your python with PyExpat
> support to use 'StylesheetReader.py'
>
> None of my code calls StylesheetReader directly, so maybe this is due
> to the fact that I am substituting my own InputSource?
Bah. I forgot about StylesheetReader. Almost anything you do with the XPath
or XSLT code triggers a StylesheetReader import. At the least, I'll update
that message to suggest PyXML 0.8 or 0.8.1 (due out this week).
> Anyway, its fine either way. If this is intended, then the docs are correct
> as is, and PyXML 0.7.1 *is* required. Otherwise, if we can remove this
> dependency, I will update my docs to indicate that PyXML is *not*
> required for XMLTransform.
If Python has PyExpat built in, then you don't need PyXML. I think this will
be the default in Python 2.3. However, in 2.1 and 2.2, it might be less
confusing to just say that PyXML is required.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
Basic XML and RDF techniques for knowledge management, Part 7 -
http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/libra
ry/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF -
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A
1EA5A2CF4621C386256BBB006F4CEC
From cstrong at arielpartners.com Tue Sep 10 23:50:41 2002
From: cstrong at arielpartners.com (Craeg K Strong)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Re: Trying to get 4Suite and XMLTransform up and running
References: <3D7369D0.1000004@upfrontsystems.co.za> <3D73B5C3.4070305@arielpartners.com> <3D739322.4040605@upfrontsystems.co.za> <3D73A7F9.5000305@arielpartners.com> <3D747152.6080409@upfrontsystems.co.za> <3D74EE0C.6040508@arielpartners.com> <3D7E1420.2030703@upfrontsystems.co.za>
Message-ID: <3D7EBD91.7060604@arielpartners.com>
Hello:
I tried your example verbatim and it worked fine for me:
Hello,
Included! subting
Although I am not sure why, because you are matching on "document"
rather than "Document"...? :)
Anyway, chances are there is a configuration problem somewhere.
My configuration:
Red Hat Linux 7.2
Zope 2.5.1 (This includes Python 2.1.3)
PyXML 0.7.1
4Suite CVS 9/10/2002
I will make a 0.8.1 release of XMLTransform very shortly, that
will have the bug fixes for relative URL resolution. That will
serve as an interim until I can make more substantial improvements
for 0.9.0
Have you tried with Zope 2.5.1 and the Python it installs by default?
This is 2.1.3 and has many bug fixes over 2.1.1
--Craeg
Jean Jordaan wrote:
> Craeg K Strong wrote:
>
>> Anyway, if you apply this, all should be fine for 4Suite 12.
>
>
> OK, I'm back on XML Transform's case ;) I've applied the systemID
> patch you sent, and I'm still a bit stuck. I'm testing with a setup
> as follows:
>
> param.xml: """
>
>
> Hello, subting
>
> """
>
> registry/simple.xsl: """
>
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
>
>
>
>
>
> """
>
> registry/included.xsl: """
>
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
>
>
> Included!
>
>
> """
>
> I've added some logging, and this is what I see in the log when
> I view 'test_include', an XMLTransform which binds 'param.xml' as
> source and 'simple.xsl' as stylesheet:
>
> ------
> 2002-09-10T15:34:35 INFO(0) XMLTransform: Imported XSLTProcessor:
> Products.XMLTransform.FourSuite12Processor.FourSuite12Processor
> [...]
> ------
> 2002-09-10T15:25:30 INFO(0) XMLTransform inside transform
> ------
> 2002-09-10T15:25:30 INFO(0) XMLTransform inside transformGuts
> ------
> 2002-09-10T15:25:30 INFO(0) XMLTransform styleSrc:
> instance at 0x9601774> systemID:
> http://blommie:15080/xml/registry/simple.xsl
>
> After the final line, Zope stops responding to web requests until I
> restart it. HuH?
>
>> This would be great to get working under libxslt-- that way you could
>> still use relative URLs even though URNs won't yet work.
>
>
> Absolutely. I've got both libxslt and FourSuite12 as options now, but
> I find myself leaning toward libxslt, perhaps irrationally -- it feels
> simpler.
>
>> Let me know how this works for you (you _are_ using 4Suite 12, right?)
>
>
> Yes. How should I describe my system to you to be useful?
>
> jean@blommie XMLTransform $ cat version.txt
> 0-8-0
> jean@blommie XMLTransform $ grep XSLTProcessor XMLTransform.py
> #from FourSuite11Processor import FourSuite11Processor as XSLTProcessor
> from FourSuite12Processor import FourSuite12Processor as XSLTProcessor
> #from LibXsltProcessor import LibXsltProcessor as XSLTProcessor
> import zLOG; zLOG.LOG('XMLTransform:', 0, 'Imported XSLTProcessor:
> %s'%XSLTProcessor)
> [...]
> jean@blommie XMLTransform $ python2.1
> Python 2.1.1 (#1, Feb 11 2002, 13:38:38)
> [GCC 2.95.3 20010315 (release)] on linux2
> Type "copyright", "credits" or "license" for more information.
> >>> import Ft
> >>> print Ft.__revision__
> $Id: __init__.py,v 1.16 2002/09/05 02:47:04 molson Exp $
From cstrong at arielpartners.com Tue Sep 10 23:55:58 2002
From: cstrong at arielpartners.com (Craeg K Strong)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Trying to get 4Suite and XMLTransform up and running
References:
Message-ID: <3D7EBECE.2010806@arielpartners.com>
Uche Ogbuji wrote:
>
>>>This would be great to get working under libxslt-- that way you could
>>>still use relative URLs even though URNs won't yet work.
>>
>
> I'm not familiar with XMLTransform, but why would relative URLs not work with
> 4Suite? They certainly work just fine in plain 4Suite.
In my 0.8.0 release of XMLTransform, I failed to pass the SystemID for the XSLT
to applyStylesheet() which made it impossible to do things like
xsl:include "../foo.xsl"
I fixed this in CVS. I will release 0.8.1 with the fix RSN...
>>Absolutely. I've got both libxslt and FourSuite12 as options now, but
>>I find myself leaning toward libxslt, perhaps irrationally -- it feels
>>simpler.
>
>
> Perhaps. But I'm curious as to your thinking. Maybe there is something we
> should address in 4Suite. Is it something specific to the Zope setup?
>
I can't speak for Jean, but I am pretty sure it will feel safer for folks to use
when alpha3 comes out. Then there will be a pre-built version, rather than a
CVS snapshot (sounds scary :)
Also, the OASIS catalog support sounds great! I will
certainly make use of that as soon as alpha3 hits.
Regards,
--Craeg
From cstrong at arielpartners.com Tue Sep 10 23:57:06 2002
From: cstrong at arielpartners.com (Craeg K Strong)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Re: XML Transform doc bug ..
References:
Message-ID: <3D7EBF12.9000001@arielpartners.com>
Uche Ogbuji wrote:
>>Hello Jean and Uche:
> Bah. I forgot about StylesheetReader. Almost anything you do with the XPath
> or XSLT code triggers a StylesheetReader import. At the least, I'll update
> that message to suggest PyXML 0.8 or 0.8.1 (due out this week).
OK
>
>
>
>>Anyway, its fine either way. If this is intended, then the docs are correct
>>as is, and PyXML 0.7.1 *is* required. Otherwise, if we can remove this
>>dependency, I will update my docs to indicate that PyXML is *not*
>>required for XMLTransform.
>
>
> If Python has PyExpat built in, then you don't need PyXML. I think this will
> be the default in Python 2.3. However, in 2.1 and 2.2, it might be less
> confusing to just say that PyXML is required.
Yup. Done. The docs stay as is :)
--Craeg
From jean at upfrontsystems.co.za Wed Sep 11 02:57:07 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Trying to get 4Suite and XMLTransform up and running
References: <3D7EBECE.2010806@arielpartners.com>
Message-ID: <3D7EE943.5030806@upfrontsystems.co.za>
Craeg K Strong wrote:
>> I'm not familiar with XMLTransform, but why would relative URLs not
>> work with 4Suite? They certainly work just fine in plain 4Suite.
>
> In my 0.8.0 release of XMLTransform, I failed to pass the SystemID for
> the XSLT to applyStylesheet() which made it impossible to do things like
>
> xsl:include "../foo.xsl"
>
> I fixed this in CVS. I will release 0.8.1 with the fix RSN...
Hmmm .. My patched code (based on your message of the 2002/09/03) looks
like this::
styleSrc = ResolvingInputSource(namespaceMap, REQUEST,
- StringIO(xsltContents))
+ StringIO(xsltContents),
+ systemID)
+ import zLOG; zLOG.LOG('XMLTransform', 0, 'styleSrc: %s systemID:
%s'%(styleSrc, systemID))
processor.appendStylesheet(styleSrc)
result = processor.run(docSrc, topLevelParams = params)
i.e. it passes 'systemID' to 'ResolvingInputSource', but not to
'applyStylesheet', at least not where I can see it .. I'll see what's
changed when 0.8.1 comes along ..
>>> Absolutely. I've got both libxslt and FourSuite12 as options now, but
>>> I find myself leaning toward libxslt, perhaps irrationally -- it feels
>>> simpler.
>>
>> Perhaps. But I'm curious as to your thinking. Maybe there is
>> something we should address in 4Suite. Is it something specific to
>> the Zope setup?
Heh, my you shouldn't credit this opinion too much --- my Linux
distribution (Gentoo) lets me install libxslt with a simple
'emerge libxslt', and then I can immediately process DocBook using
'xsltproc /..../stylesheet.xsl /..../document.xml' .. nice instant
gratification.
I haven't RTFM at all properly for 4Suite, but 4Suite looks BIG, and
looks like it comes with a whole server suite which I haven't begun
to fathom, and don't believe I need in order to use it with Zope.
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From jean at upfrontsystems.co.za Wed Sep 11 03:06:24 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Re: Trying to get 4Suite and XMLTransform up and running
References: <3D7369D0.1000004@upfrontsystems.co.za> <3D73B5C3.4070305@arielpartners.com> <3D739322.4040605@upfrontsystems.co.za> <3D73A7F9.5000305@arielpartners.com> <3D747152.6080409@upfrontsystems.co.za> <3D74EE0C.6040508@arielpartners.com> <3D7E1420.2030703@upfrontsystems.co.za> <3D7EBD91.7060604@arielpartners.com>
Message-ID: <3D7EEB70.6010602@upfrontsystems.co.za>
Craeg K Strong wrote:
> I tried your example verbatim and it worked fine for me:
>
> Hello,
> Included! subting
Well, I guess this is good :] But if my example is correct, I have
nothing to fix :/
> Although I am not sure why, because you are matching on "document"
> rather than "Document"...? :)
OK, fixed that too :]
> Anyway, chances are there is a configuration problem somewhere.
Must be ..
> Have you tried with Zope 2.5.1 and the Python it installs by default?
> This is 2.1.3 and has many bug fixes over 2.1.1
OK, I'll give 2.1.3 a shot now ..
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From jean at upfrontsystems.co.za Wed Sep 11 03:10:10 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Trying to get 4Suite and XMLTransform up and running
References:
Message-ID: <3D7EEC52.4050109@upfrontsystems.co.za>
Uche Ogbuji wrote:
>>After the final line, Zope stops responding to web requests until I
>>restart it. HuH?
>
> Sounds like a blocked thread. What happens I/O-wise after the resolution?
Nothing happens. After that log message, Zope just waits and doesn't
respond to requests. It doesn't time out either (I left it overnight
inadvertently, and it was still trying to resolve).
I'm going to try moving to Python 2.1.3 (from 2.1.1) and then stepping
through the code in the Python debugger to see where it gets stuck.
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From jean at upfrontsystems.co.za Wed Sep 11 10:25:42 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Trying to get 4Suite and XMLTransform up and running
References:
Message-ID: <3D7F5266.6060205@upfrontsystems.co.za>
I'm in way beyond my depth here, but stepping thru Zope while parsing
this test XSL of mine, I notice this when the include element is reached.
I guess '' is really something
completely different from an XInclude include as in the below, and that
I shouldn't be worried?
/usr/lib/python2.1/site-packages/Ft/Xml/Xslt/StylesheetHandler.py(231)startElement()
-> if name == XINCLUDE_NAME:
(Pdb) l
226 def startElement(self, name, attribs, *args):
227
228 self._whole_text and self._completeTextNode(self._node_stack[-1])
229
230 # check for XInclude
231 B-> if name == XINCLUDE_NAME:
232 self._handle_xinclude(attribs)
233 # throw away this element
234 self._node_stack.append(None)
235 return
236
(Pdb) p name
u'http://www.w3.org/1999/XSL/Transform include'
(Pdb) p XINCLUDE_NAME
'http://www.w3.org/2001/XInclude include'
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From jean at upfrontsystems.co.za Wed Sep 11 11:25:12 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Trying to get 4Suite and XMLTransform up and running
References: <3D7F5266.6060205@upfrontsystems.co.za>
Message-ID: <3D7F6058.4070104@upfrontsystems.co.za>
Jean Jordaan wrote:
> I'm in way beyond my depth here,
Obviously ;) Sorry for trying your patiences ..
> I guess '' is really something
> completely different
I've seen that it is completely different ..
I traced the parsing up to the ''
line, and watched as the reference was resolved, quite correctly, to
http://blommie:15080/xml/registry/included.xsl
and, eventually, tried to fetch that using urllib. And that's where
it hangs:
(Pdb) l
283 h.putrequest('GET', selector)
284 if auth: h.putheader('Authorization', 'Basic %s' % auth)
285 if realhost: h.putheader('Host', realhost)
286 for args in self.addheaders: apply(h.putheader, args)
287 h.endheaders()
288 -> if data is not None:
289 h.send(data)
290 errcode, errmsg, headers = h.getreply()
291 fp = h.getfile()
292 if errcode == 200:
293 return addinfourl(fp, headers, "http:" + url)
(Pdb) n
> /usr/lib/python2.1.3/urllib.py(290)open_http()
-> errcode, errmsg, headers = h.getreply()
(Pdb) n
That 'getreply' never returns. 'included.xsl' is accessible to
anonymous. I'll step into 'getreply' tomorrow and see if I learn any
more ..
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From cstrong at arielpartners.com Wed Sep 11 14:29:02 2002
From: cstrong at arielpartners.com (Craeg Strong)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Trying to get 4Suite and XMLTransform up and running
References: <3D7EBECE.2010806@arielpartners.com> <3D7EE943.5030806@upfrontsystems.co.za>
Message-ID: <3D7F8B6E.1040008@arielpartners.com>
Jean Jordaan wrote:
> Craeg K Strong wrote:
>
>>> I'm not familiar with XMLTransform, but why would relative URLs not
>>> work with 4Suite? They certainly work just fine in plain 4Suite
>>
>> In my 0.8.0 release of XMLTransform, I failed to pass the SystemID
>> for the XSLT to applyStylesheet() which made it impossible to do
>> things like
>>
>> xsl:include "../foo.xsl"
>>
>> I fixed this in CVS. I will release 0.8.1 with the fix RSN...
>
> Hmmm .. My patched code (based on your message of the 2002/09/03) looks
> like this::
>
> styleSrc = ResolvingInputSource(namespaceMap, REQUEST,
> - StringIO(xsltContents))
> + StringIO(xsltContents),
> + systemID)
> + import zLOG; zLOG.LOG('XMLTransform', 0, 'styleSrc: %s systemID:
> %s'%(styleSrc, systemID))
> processor.appendStylesheet(styleSrc)
> result = processor.run(docSrc, topLevelParams = params)
>
> i.e. it passes 'systemID' to 'ResolvingInputSource', but not to
> 'applyStylesheet', at least not where I can see it .. I'll see what's
> changed when 0.8.1 comes along ..
My bad. I typed from memory, confusing the FourSuite11Processor.py
changes with the FourSuite12Processor.py
changes. Your patch is correct. :-)
--Craeg
From huxley1 at westnet.com.au Fri Sep 13 01:46:10 2002
From: huxley1 at westnet.com.au (Jeremy Rew)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] XForm/Zope question
Message-ID: <001901c25ae8$dd336280$0ea148ca@jrhux>
Hi, I need to have a Zope script process a serialised xml document that has been submitted to it by an xform. I dont really know how to access the XML from Zope after it has had the XML sent to it. Could anyone just point me in the right direction / give me a few pointers as to what needs to be done.
Thankyou
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-xml/attachments/20020913/20dba8a2/attachment.html
From jean at upfrontsystems.co.za Mon Sep 16 09:32:59 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Trying to get 4Suite and XMLTransform up and running
References: <3D7F5266.6060205@upfrontsystems.co.za> <3D7F6058.4070104@upfrontsystems.co.za>
Message-ID: <3D85DD8B.8000800@upfrontsystems.co.za>
Jean Jordaan wrote:
>
> I traced the parsing up to the ''
> line, and watched as the reference was resolved, quite correctly, to
> http://blommie:15080/xml/registry/included.xsl
> and, eventually, tried to fetch that using urllib.
I've tried with both FourSuite12Processor and LibXsltProcessor now.
Still no success ..
With FourSuite12Processor, this is the line that doesn't return:
/usr/lib/python2.1.3/httplib.py(117)begin()
=====================================================================
jean@blommie 2-5-1 $ ./start_pdb
------
2002-09-16T13:09:06 INFO(0) XMLTransform: Imported XSLTProcessor:
Products.XMLTransform.FourSuite12Processor.FourSuite12Processor
------
2002-09-16T13:09:11 INFO(0) ZODB Opening database for mounting:
'142901920_1027510300.528115'
------
2002-09-16T13:09:11 INFO(0) ZODB Mounted database '142901920_1027510300.528115'
at /temp_folder
------
2002-09-16T13:09:13 INFO(0) ZServer HTTP server started at Mon Sep 16 15:09:13 2002
Hostname: blommie.upfrontsystems.co.za
Port: 15080
------
2002-09-16T13:09:13 INFO(0) ZServer HTTP server started at Mon Sep 16 15:09:13 2002
Hostname: blommie.upfrontsystems.co.za
Port: 15800
------
2002-09-16T13:09:13 INFO(0) ZServer FTP server started at Mon Sep 16 15:09:13 2002
Hostname: blommie.upfrontsystems.co.za
Port: 15021
------
2002-09-16T13:09:19 INFO(0) XMLTransform inside transform
--Return--
> /usr/lib/python2.1.3/pdb.py(895)set_trace()->None
-> Pdb().set_trace()
(Pdb) break /usr/lib/python2.1.3/httplib.py:559
Breakpoint 1 at /usr/lib/python2.1.3/httplib.py:559
(Pdb) c
------
2002-09-16T13:09:30 INFO(0) XMLTransform inside transformGuts
------
2002-09-16T13:09:30 INFO(0) XMLTransform styleSrc:
systemID: http://blommie:15080/xml/registry/simple.xsl
> /usr/lib/python2.1.3/httplib.py(559)getresponse()
-> response.begin()
(Pdb) s
> /usr/lib/python2.1.3/httplib.py(112)begin()
-> def begin(self):
(Pdb) l
107 self.chunked = _UNKNOWN # is "chunked" being used?
108 self.chunk_left = _UNKNOWN # bytes left to read in current
chunk
109 self.length = _UNKNOWN # number of bytes left in response
110 self.will_close = _UNKNOWN # conn will close at end of response
111
112 -> def begin(self):
113 if self.msg is not None:
114 # we've already started reading the response
115 return
116
117 line = self.fp.readline()
(Pdb) s
> /usr/lib/python2.1.3/httplib.py(113)begin()
-> if self.msg is not None:
(Pdb) s
> /usr/lib/python2.1.3/httplib.py(117)begin()
-> line = self.fp.readline()
(Pdb) s
=====================================================================
When I use LibXsltProcessor instead of FourSuite12Processor, I can only
trace up to libxsltmod.xsltParseStylesheetDoc .. I'm guessing that there
it dives into a C module. I get a message "xsl:include : unable to load
included.xsl" ..
=====================================================================
> /usr/lib/python2.1/site-packages/libxslt.py(166)parseStylesheetDoc()
-> else: doc__o = doc._o
(Pdb) l
161 return stylesheet(_obj=ret)
162
163 def parseStylesheetDoc(doc):
164 """parse an XSLT stylesheet building the associated structures"""
165 if doc == None: doc__o = None
166 B-> else: doc__o = doc._o
167 ret = libxsltmod.xsltParseStylesheetDoc(doc__o)
168 if ret == None: return None
169 return stylesheet(_obj=ret)
170
171 #
(Pdb) s
> /usr/lib/python2.1/site-packages/libxslt.py(167)parseStylesheetDoc()
-> ret = libxsltmod.xsltParseStylesheetDoc(doc__o)
(Pdb) s
warning: failed to load external entity "included.xsl"
compilation error: element include
xsl:include : unable to load included.xsl
=====================================================================
This is how I'm starting Zope:
exec /usr/bin/python2.1.3 /usr/local/zope/2-5-1/z2.py \
-D -P 15000 -W 15800 -t 1 -u nobody
I'm using 2002-09-10-4Suite.tar.gz, PyXML 0.7.1,
Using libxml 20423, libxslt 10019 and libexslt 710
xsltproc was compiled against libxml 20423, libxslt 10019 and libexslt 710
libxslt 10019 was compiled against libxml 20423
libexslt 710 was compiled against libxml 20423
If you can think of anything else I could try, please let me know ..
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From jean at upfrontsystems.co.za Mon Sep 16 09:45:54 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] XMLTransform permanently binding to XSLT processor?
Message-ID: <3D85E092.5080402@upfrontsystems.co.za>
Hi there
If I change the XSLTProcessor from 4Suite to libxslt and restart
Zope, the XMLTransform instance I was busy with doesn't notice the
change. From the log:
=======================================================================
jean@blommie 2-5-1 $ ./start
==> var/stupid.log <==
------
2002-09-16T13:39:05 INFO(0) zdaemon zdaemon: Mon Sep 16 15:39:05 2002: Houston,
we have forked
[...]
------
2002-09-16T13:39:08 INFO(0) XMLTransform: Imported XSLTProcessor:
Products.XMLTransform.LibXsltProcessor.LibXsltProcessor
[...]
------
2002-09-16T13:39:22 INFO(0) XMLTransform styleSrc:
systemID: http://blommie:15080/xml/registry/simple.xsl
=======================================================================
How can the styleSrc be a FourSuite12Processor.ResolvingInputSource
instance if LibXsltProcessor was imported? There is no XML Transform
Cache Manager.
If I delete and recreate the XMLTransform, the new one uses
LibXsltProcessor.
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From cstrong at arielpartners.com Mon Sep 16 11:50:27 2002
From: cstrong at arielpartners.com (Craeg K Strong)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] XMLTransform permanently binding to XSLT processor?
References: <3D85E092.5080402@upfrontsystems.co.za>
Message-ID: <3D85FDC3.4010805@arielpartners.com>
Hello:
Ah yes. This capability is listed on the TODO list:
Ability to switch XSLT Processors on the fly -- Some sort of "self
upgrading mechanism so one can switch to a different processor
at run time. May be related to ZSyncer issue above
It sounds like this should be a higher priority (it is currently
pretty far down on the list..)? I might be able
to make it part of the 0.9 release...
BTW, I just heard from Daniel and he indicates that a new libxslt
with "greatly expanded and improved" Python APIs will be released in
3-4 weeks.
I will probably go ahead and make a 0.9 release a week or two after that
to take advantage of all the new features....
--Craeg
Jean Jordaan wrote:
> Hi there
>
> If I change the XSLTProcessor from 4Suite to libxslt and restart
> Zope, the XMLTransform instance I was busy with doesn't notice the
> change. From the log:
>
> =======================================================================
> jean@blommie 2-5-1 $ ./start
> ==> var/stupid.log <==
> ------
> 2002-09-16T13:39:05 INFO(0) zdaemon zdaemon: Mon Sep 16 15:39:05 2002:
> Houston, we have forked
> [...]
> ------
> 2002-09-16T13:39:08 INFO(0) XMLTransform: Imported XSLTProcessor:
> Products.XMLTransform.LibXsltProcessor.LibXsltProcessor
> [...]
> ------
> 2002-09-16T13:39:22 INFO(0) XMLTransform styleSrc:
> instance at 0x97d4cec> systemID:
> http://blommie:15080/xml/registry/simple.xsl
> =======================================================================
>
> How can the styleSrc be a FourSuite12Processor.ResolvingInputSource
> instance if LibXsltProcessor was imported? There is no XML Transform
> Cache Manager.
>
> If I delete and recreate the XMLTransform, the new one uses
> LibXsltProcessor.
From cstrong at arielpartners.com Mon Sep 16 11:59:25 2002
From: cstrong at arielpartners.com (Craeg K Strong)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Trying to get 4Suite and XMLTransform up and running
References: <3D7F5266.6060205@upfrontsystems.co.za> <3D7F6058.4070104@upfrontsystems.co.za> <3D85DD8B.8000800@upfrontsystems.co.za>
Message-ID: <3D85FFDD.9090909@arielpartners.com>
Hello:
I had a thought. Have you tried changing the number of threads you use?
According to your command line, you are restricting zope to a single
thread. I am starting zope using all of the defaults:
/usr/bin/python2.1.3 /usr/local/zope/2-5-1/z2.py -D
according to z2.py, the default number of threads is 4.
Maybe that's the problem? It could be that these external
libraries require additional threads....
--Craeg
Jean Jordaan wrote:
> Jean Jordaan wrote:
>
>>
>> I traced the parsing up to the ''
>> line, and watched as the reference was resolved, quite correctly, to
>> http://blommie:15080/xml/registry/included.xsl
>> and, eventually, tried to fetch that using urllib.
>
>
> I've tried with both FourSuite12Processor and LibXsltProcessor now.
> Still no success ..
>
> With FourSuite12Processor, this is the line that doesn't return:
> /usr/lib/python2.1.3/httplib.py(117)begin()
>
> =====================================================================
> jean@blommie 2-5-1 $ ./start_pdb
> ------
> 2002-09-16T13:09:06 INFO(0) XMLTransform: Imported XSLTProcessor:
> Products.XMLTransform.FourSuite12Processor.FourSuite12Processor
> ------
> 2002-09-16T13:09:11 INFO(0) ZODB Opening database for mounting:
> '142901920_1027510300.528115'
> ------
> 2002-09-16T13:09:11 INFO(0) ZODB Mounted database
> '142901920_1027510300.528115' at /temp_folder
> ------
> 2002-09-16T13:09:13 INFO(0) ZServer HTTP server started at Mon Sep 16
> 15:09:13 2002
> Hostname: blommie.upfrontsystems.co.za
> Port: 15080
> ------
> 2002-09-16T13:09:13 INFO(0) ZServer HTTP server started at Mon Sep 16
> 15:09:13 2002
> Hostname: blommie.upfrontsystems.co.za
> Port: 15800
> ------
> 2002-09-16T13:09:13 INFO(0) ZServer FTP server started at Mon Sep 16
> 15:09:13 2002
> Hostname: blommie.upfrontsystems.co.za
> Port: 15021
> ------
> 2002-09-16T13:09:19 INFO(0) XMLTransform inside transform
> --Return--
> > /usr/lib/python2.1.3/pdb.py(895)set_trace()->None
> -> Pdb().set_trace()
> (Pdb) break /usr/lib/python2.1.3/httplib.py:559
> Breakpoint 1 at /usr/lib/python2.1.3/httplib.py:559
> (Pdb) c
> ------
> 2002-09-16T13:09:30 INFO(0) XMLTransform inside transformGuts
> ------
> 2002-09-16T13:09:30 INFO(0) XMLTransform styleSrc:
> instance at 0x97845b4> systemID:
> http://blommie:15080/xml/registry/simple.xsl
> > /usr/lib/python2.1.3/httplib.py(559)getresponse()
> -> response.begin()
> (Pdb) s
> > /usr/lib/python2.1.3/httplib.py(112)begin()
> -> def begin(self):
> (Pdb) l
> 107 self.chunked = _UNKNOWN # is "chunked" being used?
> 108 self.chunk_left = _UNKNOWN # bytes left to read in
> current chunk
> 109 self.length = _UNKNOWN # number of bytes left
> in response
> 110 self.will_close = _UNKNOWN # conn will close at end
> of response
> 111
> 112 -> def begin(self):
> 113 if self.msg is not None:
> 114 # we've already started reading the response
> 115 return
> 116
> 117 line = self.fp.readline()
> (Pdb) s
> > /usr/lib/python2.1.3/httplib.py(113)begin()
> -> if self.msg is not None:
> (Pdb) s
> > /usr/lib/python2.1.3/httplib.py(117)begin()
> -> line = self.fp.readline()
> (Pdb) s
> =====================================================================
>
> When I use LibXsltProcessor instead of FourSuite12Processor, I can only
> trace up to libxsltmod.xsltParseStylesheetDoc .. I'm guessing that there
> it dives into a C module. I get a message "xsl:include : unable to load
> included.xsl" ..
>
> =====================================================================
> > /usr/lib/python2.1/site-packages/libxslt.py(166)parseStylesheetDoc()
> -> else: doc__o = doc._o
> (Pdb) l
> 161 return stylesheet(_obj=ret)
> 162
> 163 def parseStylesheetDoc(doc):
> 164 """parse an XSLT stylesheet building the associated
> structures"""
> 165 if doc == None: doc__o = None
> 166 B-> else: doc__o = doc._o
> 167 ret = libxsltmod.xsltParseStylesheetDoc(doc__o)
> 168 if ret == None: return None
> 169 return stylesheet(_obj=ret)
> 170
> 171 #
> (Pdb) s
> > /usr/lib/python2.1/site-packages/libxslt.py(167)parseStylesheetDoc()
> -> ret = libxsltmod.xsltParseStylesheetDoc(doc__o)
> (Pdb) s
> warning: failed to load external entity "included.xsl"
> compilation error: element include
> xsl:include : unable to load included.xsl
> =====================================================================
>
> This is how I'm starting Zope:
>
> exec /usr/bin/python2.1.3 /usr/local/zope/2-5-1/z2.py \
> -D -P 15000 -W 15800 -t 1 -u nobody
>
> I'm using 2002-09-10-4Suite.tar.gz, PyXML 0.7.1,
> Using libxml 20423, libxslt 10019 and libexslt 710
> xsltproc was compiled against libxml 20423, libxslt 10019 and libexslt 710
> libxslt 10019 was compiled against libxml 20423
> libexslt 710 was compiled against libxml 20423
>
> If you can think of anything else I could try, please let me know ..
From jean at upfrontsystems.co.za Mon Sep 16 13:52:13 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: SOLVED!! (Re: [Zope-xml] Trying to get 4Suite and XMLTransform up
and running)
References: <3D7F5266.6060205@upfrontsystems.co.za> <3D7F6058.4070104@upfrontsystems.co.za> <3D85DD8B.8000800@upfrontsystems.co.za> <3D85FFDD.9090909@arielpartners.com>
Message-ID: <3D861A4D.1010105@upfrontsystems.co.za>
Craeg K Strong wrote:
>
> I had a thought. Have you tried changing the number of threads you use?
Whee-hoo! Craeg you're a genius :) I bumped the number of threads to 4
and it worked! Thank you very much indeed. Man, what a relief.
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From jean at upfrontsystems.co.za Mon Sep 16 14:04:46 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] XMLTransform permanently binding to XSLT processor?
References: <3D85E092.5080402@upfrontsystems.co.za> <3D85FDC3.4010805@arielpartners.com>
Message-ID: <3D861D3E.5020203@upfrontsystems.co.za>
Craeg K Strong wrote:
>
> Ah yes. This capability is listed on the TODO list:
>
> Ability to switch XSLT Processors on the fly -- Some sort of "self
> upgrading mechanism so one can switch to a different processor
> at run time.
In the absence of this ability, it would be very helpful if the
XML Transform mentioned the processor it's bound to on its
'manage_editForm'.
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From jean at upfrontsystems.co.za Mon Sep 16 14:31:33 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] DocBook and XML Transform: select="document('../common/l10n.xml')"
Message-ID: <3D862385.9000800@upfrontsystems.co.za>
OK, the includes are looking good :) This line fails though:
details below ..
My Zope DocBook setup is looking like this now:
/xml
/registry/docbook/common
/registry/docbook/html
/registry/docbook/lib
paper.xml
paper
'common', 'html' and 'lib' are folders containing External File batches
that point at /usr/share/sgml/docbook/xsl-stylesheets-1.52.2/... on the
filesystem. 'paper.xml' is a proper DocBook article. 'paper' is an
XMLTransform linking 'paper.xml' to 'docbook/html/docbook.xsl'.
When I view /xml/paper, my log shows:
=======================================================================
2002-09-16T18:16:53 INFO(0) XMLTransform styleSrc:
systemID: http://blommie:15080/xml/registry/docbook/html/docbook.xsl
==> var/Z2.log <==
192.168.1.5 - jean [16/Sep/2002:20:16:18 +0200] "GET /xml/paper HTTP/1.1" 200
235 "" "Mozilla/5.0 (Windows NT 4.0; U) Opera 6.01 [en]"
192.168.1.2 - Anonymous [16/Sep/2002:20:16:53 +0200] "GET
/xml/registry/docbook/VERSION HTTP/1.0" 200 494 "" "Python-urllib/1.15"
192.168.1.2 - Anonymous [16/Sep/2002:20:16:53 +0200] "GET
/xml/registry/docbook/html/param.xsl HTTP/1.0" 200 12059 "" "Python-urllib/1.15"
[...]
192.168.1.2 - Anonymous [16/Sep/2002:20:17:04 +0200] "GET
/xml/registry/docbook/html/html-rtf.xsl HTTP/1.0" 200 9919 "" "Python-urllib/1.15"
192.168.1.5 - jean [16/Sep/2002:20:17:05 +0200] "GET /xml/paper HTTP/1.1" 200
235 "" "Mozilla/5.0 (Windows NT 4.0; U) Opera 6.01 [en]"
==> var/z2.log <==
In stylesheet http://blommie:15080/xml/registry/docbook/common/l10n.xsl, line
18, column 0 in "document('../common/l10n.xml')":
Invalid base URI: urn:uuid:b0b0902-a03-c02-c0b-509070b901
=======================================================================
It looks like
(l10n.xsl, line 18) isn't being resolved.
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From cstrong at arielpartners.com Mon Sep 16 18:09:22 2002
From: cstrong at arielpartners.com (Craeg Strong)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] DocBook and XML Transform: select="document('../common/l10n.xml')"
References: <3D862385.9000800@upfrontsystems.co.za>
Message-ID: <3D865692.4050505@arielpartners.com>
Hello:
Congrats on the first step. However, your error below still looks like
the same old problem.
That is exactly the same error message I got with 4Suite using a version
prior to the CVS
snapshot of 9/10/2002 (when the fix was applied), namely:
Invalid base URI: urn:uuid:b0b0902-a03-c02-c0b-509070b901
If you *are* using that version, then perhaps there is another problem.
It would
help if I could reproduce your environment. It sounds pretty
straightforward; can you tell me
where you obtained the docbook stuff? If you give me a URL I will test
it, and make
it (or a representative subset thereof) a permanent part of the
XMLTransform test suite :-)
--Craeg
Jean Jordaan wrote:
> OK, the includes are looking good :) This line fails though:
>
> details below ..
>
> My Zope DocBook setup is looking like this now:
>
> /xml
> /registry/docbook/common
> /registry/docbook/html
> /registry/docbook/lib
> paper.xml
> paper
>
> 'common', 'html' and 'lib' are folders containing External File batches
> that point at /usr/share/sgml/docbook/xsl-stylesheets-1.52.2/... on the
> filesystem. 'paper.xml' is a proper DocBook article. 'paper' is an
> XMLTransform linking 'paper.xml' to 'docbook/html/docbook.xsl'.
>
> When I view /xml/paper, my log shows:
>
> =======================================================================
> 2002-09-16T18:16:53 INFO(0) XMLTransform styleSrc:
> instance at 0x9c2fb5c> systemID:
> http://blommie:15080/xml/registry/docbook/html/docbook.xsl
>
> ==> var/Z2.log <==
> 192.168.1.5 - jean [16/Sep/2002:20:16:18 +0200] "GET /xml/paper
> HTTP/1.1" 200 235 "" "Mozilla/5.0 (Windows NT 4.0; U) Opera 6.01 [en]"
> 192.168.1.2 - Anonymous [16/Sep/2002:20:16:53 +0200] "GET
> /xml/registry/docbook/VERSION HTTP/1.0" 200 494 "" "Python-urllib/1.15"
> 192.168.1.2 - Anonymous [16/Sep/2002:20:16:53 +0200] "GET
> /xml/registry/docbook/html/param.xsl HTTP/1.0" 200 12059 ""
> "Python-urllib/1.15"
> [...]
> 192.168.1.2 - Anonymous [16/Sep/2002:20:17:04 +0200] "GET
> /xml/registry/docbook/html/html-rtf.xsl HTTP/1.0" 200 9919 ""
> "Python-urllib/1.15"
> 192.168.1.5 - jean [16/Sep/2002:20:17:05 +0200] "GET /xml/paper
> HTTP/1.1" 200 235 "" "Mozilla/5.0 (Windows NT 4.0; U) Opera 6.01 [en]"
>
> ==> var/z2.log <==
> In stylesheet
> http://blommie:15080/xml/registry/docbook/common/l10n.xsl, line 18,
> column 0 in "document('../common/l10n.xml')":
> Invalid base URI: urn:uuid:b0b0902-a03-c02-c0b-509070b901
> =======================================================================
>
> It looks like
>
> (l10n.xsl, line 18) isn't being resolved.
>
From cstrong at arielpartners.com Mon Sep 16 16:03:49 2002
From: cstrong at arielpartners.com (Craeg K Strong)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] XMLTransform permanently binding to XSLT processor?
References: <3D85E092.5080402@upfrontsystems.co.za> <3D85FDC3.4010805@arielpartners.com> <3D861D3E.5020203@upfrontsystems.co.za>
Message-ID: <3D863925.7060105@arielpartners.com>
Agreed. I put it on the list for 0.8.1
--Craeg
Jean Jordaan wrote:
> Craeg K Strong wrote:
>
>>
>> Ah yes. This capability is listed on the TODO list:
>>
>> Ability to switch XSLT Processors on the fly -- Some sort of "self
>> upgrading mechanism so one can switch to a different processor
>> at run time.
>
>
> In the absence of this ability, it would be very helpful if the
> XML Transform mentioned the processor it's bound to on its
> 'manage_editForm'.
>
From huxley1 at westnet.com.au Mon Sep 16 22:24:30 2002
From: huxley1 at westnet.com.au (Jeremy Rew)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] 4Suite installation
Message-ID: <5.1.1.6.0.20020917101409.00b36210@localhost>
I have 4suite 0.12.0a2 and am using python 2.1.3 (came with Zope). I am
trying to install it, only to run into the following errors:
rendering build/docs/xml/modules/Ft.Lib.DistExt.xml ->
build/docs/html/modules/Ft.Lib.DistExt.html
Traceback (most recent call last):
File "/tmp/@12164.0.py", line 636, in ?
cmd.run()
File "build/lib.linux-i686-2.1/Ft/Lib/DistExt/BuildDocs.py", line 248,
in run
self.render_doc(doc)
File "build/lib.linux-i686-2.1/Ft/Lib/DistExt/BuildDocs.py", line 462,
in render_doc
raise DistutilsFileError, \
distutils.errors.DistutilsFileError: could not render
'build/docs/html/modules/Ft.
Lib.DistExt.html': this constructor takes no arguments
error: command '/usr/Zope-2.5.1-linux2-x86/bin/python' failed with exit
status 1
everytime I run the install, it stops at each successive html and txt file
with the same message. This seems to be documentation files (?). if so, is
there any way to skip the installation of the doc and download it seperately?
Could anyone please help with this problem?
Jeremy
From erwan at loisant.org Tue Sep 17 01:48:04 2002
From: erwan at loisant.org (Erwan Loisant)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Upload an XML file from web
Message-ID: <3D86C214.1090700@loisant.org>
Hello.
I recently came to Zope and I need to get an XML file from user. That
means user will not upload the file from Zope management interface but
directly from the website I designed.
I downloaded and installed ParsedXML, which seems to be a good product
for XML management.
I looked in the doc and I've seen a dtml manage_addFile() function,
manage_addImage() function, and a function for each Zope base object.
Is there such a method to add ParsedXML files ? Or is it better to
upload it as file then parse it once it is a file object ?
Thank you.
--
Erwan Loisant
Ph.D. student (University of Nantes)
Research Student (Tokyo Metropolitan University)
From jean at upfrontsystems.co.za Tue Sep 17 04:52:56 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] DocBook and XML Transform: select="document('../common/l10n.xml')"
References: <3D862385.9000800@upfrontsystems.co.za> <3D865692.4050505@arielpartners.com>
Message-ID: <3D86ED68.1010301@upfrontsystems.co.za>
Hi Craeg
> That is exactly the same error message I got with 4Suite using a version
> prior to the CVS
> snapshot of 9/10/2002 (when the fix was applied), namely:
I'm using 2002-09-10-4Suite.tar.gz , but I'll try the latest.
> If you *are* using that version, then perhaps there is another problem.
> It would help if I could reproduce your environment. It sounds pretty
> straightforward; can you tell me where you obtained the docbook stuff?
http://docbook.sourceforge.net/ or head straight to
http://sourceforge.net/project/showfiles.php?group_id=21935&release_id=108710
> it, and make
> it (or a representative subset thereof) a permanent part of the
> XMLTransform test suite :-)
That would be excellent. At the above URL there are also
docbook-testdocs-1.1.tar.gz and xslt-include-import-test which should
be good to test with ..
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From jean at upfrontsystems.co.za Tue Sep 17 08:15:31 2002
From: jean at upfrontsystems.co.za (Jean Jordaan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] DocBook and XML Transform: select="document('../common/l10n.xml')"
References: <3D862385.9000800@upfrontsystems.co.za> <3D865692.4050505@arielpartners.com>
Message-ID: <3D871CE3.9030303@upfrontsystems.co.za>
Craeg Strong wrote:
> That is exactly the same error message I got with 4Suite using a version
> prior to the CVS
> snapshot of 9/10/2002 (when the fix was applied), namely:
>
> Invalid base URI: urn:uuid:b0b0902-a03-c02-c0b-509070b901
I'm now using 2002-09-17-4Suite.tar.gz and I'm still getting that error
.. Anything else I can do to diagnose?
192.168.1.2 - Anonymous [17/Sep/2002:14:08:12 +0200] "GET
/xml/registry/docbook/html/html-rtf.xsl HTTP/1.0" 200 9919 "" "Python-urllib/1.15"
192.168.1.5 - jean [17/Sep/2002:14:08:13 +0200] "GET /xml/paper_4suite HTTP/1.1"
200 235 "" "Mozilla/5.0 (Windows NT 4.0; U) Opera 6.01 [en]"
==> var/z2.log <==
In stylesheet http://blommie:15080/xml/registry/docbook/common/l10n.xsl, line
18, column 0 in "document('../common/l10n.xml')":
Invalid base URI: urn:uuid:80d0506-30d-104-10c-9020201e0a
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za
From uche.ogbuji at fourthought.com Tue Sep 17 10:55:28 2002
From: uche.ogbuji at fourthought.com (Uche Ogbuji)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] 4Suite installation
In-Reply-To: Message from Jeremy Rew
of "Tue, 17 Sep 2002 10:24:30 +0800." <5.1.1.6.0.20020917101409.00b36210@localhost>
Message-ID:
For the edification of others:
http://lists.fourthought.com/pipermail/4suite/2002-September/004372.html
--Uche
> I have 4suite 0.12.0a2 and am using python 2.1.3 (came with Zope). I am
> trying to install it, only to run into the following errors:
>
> rendering build/docs/xml/modules/Ft.Lib.DistExt.xml ->
> build/docs/html/modules/Ft.Lib.DistExt.html
> Traceback (most recent call last):
> File "/tmp/@12164.0.py", line 636, in ?
> cmd.run()
> File "build/lib.linux-i686-2.1/Ft/Lib/DistExt/BuildDocs.py", line 248,
> in run
> self.render_doc(doc)
> File "build/lib.linux-i686-2.1/Ft/Lib/DistExt/BuildDocs.py", line 462,
> in render_doc
> raise DistutilsFileError, \
> distutils.errors.DistutilsFileError: could not render
> 'build/docs/html/modules/Ft.
> Lib.DistExt.html': this constructor takes no arguments
> error: command '/usr/Zope-2.5.1-linux2-x86/bin/python' failed with exit
> status 1
>
> everytime I run the install, it stops at each successive html and txt file
> with the same message. This seems to be documentation files (?). if so, is
> there any way to skip the installation of the doc and download it seperately?
>
> Could anyone please help with this problem?
>
> Jeremy
>
>
> _______________________________________________
> Zope-xml mailing list
> Zope-xml@zope.org
> http://lists.zope.org/mailman/listinfo/zope-xml
>
From uche.ogbuji at fourthought.com Tue Sep 17 11:01:42 2002
From: uche.ogbuji at fourthought.com (Uche Ogbuji)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] DocBook and XML Transform:
select="document('../common/l10n.xml')"
In-Reply-To: Message from Jean Jordaan
of "Tue, 17 Sep 2002 10:52:56 +0200." <3D86ED68.1010301@upfrontsystems.co.za>
Message-ID:
> Hi Craeg
>
> > That is exactly the same error message I got with 4Suite using a version
> > prior to the CVS
> > snapshot of 9/10/2002 (when the fix was applied), namely:
>
> I'm using 2002-09-10-4Suite.tar.gz , but I'll try the latest.
FYI, all. I'm wrapping up and testing my last feature to be added before
4Suite 0.12.0. Other developers have already frozen. From here on it will be
testing, bug fixes, docs. This should help Craeg with more consistent
packaging.
Thanks for your patience.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Apache 2.0 API - http://www-106.ibm.com/developerworks/linux/library/l-apache/
Basic XML and RDF techniques for knowledge management, Part 7 - http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/library/x-jclark.html
From kvthan at wm.edu Tue Sep 17 14:48:28 2002
From: kvthan at wm.edu (kapil thangavelu)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Upload an XML file from web
In-Reply-To: <3D86C214.1090700@loisant.org>
References: <3D86C214.1090700@loisant.org>
Message-ID: <200209171148.28994.kvthan@wm.edu>
On Monday 16 September 2002 10:48 pm, Erwan Loisant wrote:
> Hello.
>
> I recently came to Zope and I need to get an XML file from user. That
> means user will not upload the file from Zope management interface but
> directly from the website I designed.
>
> I downloaded and installed ParsedXML, which seems to be a good product
> for XML management.
>
> I looked in the doc and I've seen a dtml manage_addFile() function,
> manage_addImage() function, and a function for each Zope base object.
>
> Is there such a method to add ParsedXML files ?
the generic way of adding products is,
context.manage_addProduct['ProductName'].manage_addProductFactoryName(args)
the actual factory name and args is idiosyncratic to the particular product, a
quick source inspection reveals the answer.
>Or is it better to
> upload it as file then parse it once it is a file object ?
depends on what you want to do with it. if you want to use various xml tech.
with it such as xpath/xslt than its probably better to keep it in a parsed
xml object (assuming the tool(s) for using those technologies support parsed
xml). personally, i'm an xml luddite, so i generally convert from xml to an
object model via sax.
hth,
kapil
From sean.upton at uniontrib.com Mon Sep 23 11:59:58 2002
From: sean.upton at uniontrib.com (sean.upton@uniontrib.com)
Date: Sun Aug 10 16:54:52 2008
Subject: [zope-xml] Plz help me out in XML field index search using ZC
atalog for numeric data
Message-ID:
You should consider using ParsedXML instead of XMLDocument... The latter is
depreciated. Also, you should direct further list correspondence to
zope-xml@zope.org, since zope-xml@yahoogroups.com has been depreciated and
not in use for over a year.
That said, I think your best option is to write Python scripts that use DOM
methods to get the data you are interested in, convert it to the format you
are interested in, and index those methods of your document, instead of
trying to directly index values of nodes themselves.
Sean
-----Original Message-----
From: Santosh Sawant [mailto:santee_sawant@yahoo.co.in]
Sent: Sunday, September 22, 2002 11:47 PM
To: zope-xml@yahoogroups.com
Subject: [zope-xml] Plz help me out in XML field index search using
ZCatalog for numeric data
Hi!
I am using XML document product and ZCatalog.... for my web based
search utility.... I can search my XML data as per input.... but
unable to show numeric data in search results....
My xml file structure is....
I don't know how to create field index for xml data file which can
store numeric data as text index ignores double quotes, capital
letters(converts to lower case) and numbers.
Thanking you in advance.
With best regards,
Santee
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Home Selling? Try Us!
http://us.click.yahoo.com/QrPZMC/iTmEAA/ySSFAA/2U_rlB/TM
---------------------------------------------------------------------~->
To Post a message, send it to: zope-xml@eGroups.com
To Unsubscribe, send a blank message to: zope-xml-unsubscribe@eGroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
From ed at greengraphics.net Wed Sep 25 07:45:09 2002
From: ed at greengraphics.net (Ed Colmar)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] zope <> flash
Message-ID:
I'm a newbie to flash, so please pardon any silly questions.
What is the most painless way to get data into and out of flash?
I've found several xml-rpc documents (and I'm already a xml-rpc fan):
http://www.zope.org/Members/ike/Flash-Zope/FLASH_xmlrpc_zope
http://sourceforge.net/projects/xmlrpcflash
Is there an easier way?
I'm hesitant to use the swiftgenerator, as that seems less than ideal.
I know flash can POST directly into dtml/sql methods, but can it do
anything with the results?
Thanks for any ideas!
-ed-
--
Green Graphics ::: Print and Web Design ::: 510.923.0000
From jtsitedesigns at yahoo.com Sat Sep 28 12:50:23 2002
From: jtsitedesigns at yahoo.com (John Tynan)
Date: Sun Aug 10 16:54:52 2008
Subject: [Zope-xml] Getting Started with nXMLDocument
Message-ID: <20020928165023.46217.qmail@web11507.mail.yahoo.com>
Thanks to the good advice from the people on the
freezope discussion list, I have recently installed
the nXMLDocument product and have set up an xml file
and xsl template at:
http://kjzz.org:8080/kjzzredesign/xml/conference.xml?stylesheet=stylesheet
Due to my limited experience with xml, I am not sure
if this is working properly. If anyone here has
experience with nXMLDocument and could help me resolve
some issues with what I am trying to do, that would be
great.
I would gladly submit anything that I find out to be
included in the documentation for nXMLDocument.
Sincerely,
John T.
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
|