Re: bug: xsl:import URI resolution

2002-02-03 Thread Kip Hampton
Gary Benson wrote: On Sat, 2 Feb 2002, Matt Sergeant wrote: snip/ Lack of a good test suite. Every time I fix it for one person it breaks for everyone else. Matt, have you seen httpd-test (http://httpd.apache.org/test/)? Part of it, perl-framework, is a regression tester for apache

Re: bug: xsl:import URI resolution

2002-02-03 Thread Kip Hampton
Bart Schuller wrote: On Sun, Feb 03, 2002 at 04:17:05AM -0500, Kip Hampton wrote: the document() function - URIs resolved in the context of the base XML document being transformed by the stylesheet. Further complicating things is the fact that it is perfectly legitimate to have

Re: Still trouble installing on FreeBSD

2002-03-09 Thread Kip Hampton
Hi Philipp, Philipp Reichmuth wrote: Hello axkit-users, I'm still having the same trouble getting AxKit 1.5 to run on Apache 1.3.14 on FreeBSD 4.5-STABLE, now with Perl 5.6.1. I've installed the dromedary example as test.xml with text.xsl, and when I process it, the server serves up

Re: HTTP_USER_AGENT as a parameter?

2002-03-11 Thread Kip Hampton
Hi Dave, Actually, StyleChooser::UA will not really do what you want. You need a plugin that crams the user-agent string into a request param (so it acts like POSTed form data or a querystring param, which are available to the stylesheets via xsl:param elements). I have one that I use here to

Re: trouble with Apache::AxKit::Plugin::AddXSLParams::Request

2002-04-02 Thread Kip Hampton
Hi Andrei, Andrei Glazachev wrote: hi, AxKit I use Apache::AxKit::Plugin::AddXSLParams::Request And i can receive value of request.uri, but i can't do this for request.uri.* Make sure that you are configured to include verbose URI info in addition to any other fields you may want to

Re: Configuring Apache to pass parameters to toplevel stylesheet?

2002-04-08 Thread Kip Hampton
Hi Tim, What you seek is already implemented in AxKit-Plugin-AddXSLParams-Request[1]. One of these days, I'll get around to shoving it out to CPAN. See the docs for usage, if you have any questions or comments, please feel free. -kip [1]

Re: AxKit Win32

2002-07-11 Thread Kip Hampton
the errors are. -kip Kip Hampton Perl and XML: http://xml.com/pub/q/perlxml AxKit: http://axkit.org/ Join Us In San Diego! http://conferences.oreillynet.com/os2002/ http://conferences.oreillynet.com/cs/os2002/view/e_sess/2533

Re: Style Sheet Choosing

2002-07-11 Thread Kip Hampton
stylesheet, http://yerserver.tld/foo.xml?style=style1 with the style2.xsp stylesheet, and those not specifying a style in the QS will be transformed with fallback.xps. HTH, -kip Kip Hampton Perl and XML: http://xml.com/pub/q/perlxml AxKit: http://axkit.org/ Join Us In San Diego! http

Re: html/named entities

2002-12-27 Thread Kip Hampton
On Thursday 26 December 2002 10:54 pm, S Woodside wrote: snip/ Instead I just want to be able to pass through my entities like copy, and so on without any hassle. I don't want to have to use xsl:text blahblahblahamp;copy;/xsl:text and other ugly constructions like that, or have to create

Segfaults in Latest CVS

2003-01-01 Thread Kip Hampton
Howdy Axers, This is running latest CVS using latest CPAN XML::LibXML and XML::LibXSLT and the fast handler to transform ye olde camelids table example from the quickstart. The segv appears randomly (after a couple of hundred requests) when leaning on the server with ab.. Starting program:

Re: Segfaults in Latest CVS

2003-01-02 Thread Kip Hampton
On Thursday 02 January 2003 01:25 am, Matt Sergeant wrote: Downgrade XML::LibXML to 1.52 (XML::LibXSLT is fine). Same segfaults with 1.52 (that's actually the version that I first encountered the problem with). I've also tried upgrading libxml2 and libxslt with the same results. And, again,

Re: Newbie Problems

2003-01-28 Thread Kip Hampton
Eddie Roosenmaallen wrote: Hi all, I'm running into some neat problems using AxKit. My AxKit configuration (in httpd.conf, just after all the LoadModule lines) is: # - AxKit Global Config - PerlModule AxKit AddHandler axkit .xml .xsp #SetHandler perl-script

Re: StyleChooser::QueryString

2003-01-29 Thread Kip Hampton
What version of StyleChooser::QueryString are you using? Eddie Roosenmaallen wrote: Hi All, More troubles getting a StyleChooser to work. When I turn on the StyleChooser plugin, I get the following lines in my error.log: [Wed Jan 29 08:55:27 2003] [warn] [client 192.168.1.100] [AxKit]

Re: deprecate XPS

2003-02-01 Thread Kip Hampton
Piers Harding wrote: Well - I would have to whole-heartedly disagree with the gimmik feature bit! We use a custom AppServer/XPS/XSP combination very effectively within our production site. I would be horrorfied to see it disappear. And that's the point. Whatever opinions one might have about

Re: AxKit takes over, other stuff breaks.

2003-02-01 Thread Kip Hampton
Peter McGarvey wrote: Greetings, I've got a bit of a problems with AxKit, and I was wondering if someone could give me a few pointers. The problem is that when I enable AxKit, bits of Apache break. I first noticed it with some PHP bits I've got installed. PHP stopped working completely, if I

Re: AxKit for web applications

2003-02-03 Thread Kip Hampton
an XML document and AxKit.. Make sense? -kip simon On Monday, February 3, 2003, at 11:13 PM, Kip Hampton wrote: Consider the following: Application Framework (builds XML document) - Custom Provider - AxKit Right - it's that App framework that I consider the extra layer. I'm not suggesting

Re: XSLT and a single / template

2003-02-08 Thread Kip Hampton
Matt Sergeant wrote: So the question is - does this work? Sure it does. The only potential conflict is if the content document (your foo.xml) also has a template with a match rule for the abstract root /. In that case the rule in the document that includes global.xsl would override the

Re: XSLT and a single / template

2003-02-08 Thread Kip Hampton
S Woodside wrote: That's a feature actually :-) Since it means that you'll always get valid XML as your output. So the question is - does this work? Yeah, but at the moment it's not how I'm doing it. I'm trying to avoid import and include since they create a strong coupling and therefore

Re: XML Namespaces

2003-02-11 Thread Kip Hampton
Eddie Roosenmaallen wrote: Can anyone point me to a good tutorial on using and writing XML namespaces, or at least give me a quick run-down on how they are built, and the internal structure (if any) of a namespace? Zvon.org has a nice XML Namespaces intro [1] with links to more info. HTH,

Re: RFC: PerForm updates

2003-02-12 Thread Kip Hampton
Robin Berjon wrote: Another would be the ability to populate a form using an instance XML document and the possibility of recreating a similar instance based on what is submitted back. XForms support aside for a sec, I've been pondering the idea of a roundtripping Provider for multi-screen

Re: Updated Quickstart Guide

2003-02-20 Thread Kip Hampton
[EMAIL PROTECTED] wrote: Somewhere in Step 2, me thinks one should be strongly encouraged to try a command line transformation with xsltproc (or its Sablotron cousin) before proceding to to debug the AxKit config. Good idea. I added it to the If Things Go Wrong section, though (along with a

Re: Updated Quickstart Guide

2003-02-20 Thread Kip Hampton
[EMAIL PROTECTED] wrote: If you are installing libxml2 and libxml2 via RPM, make sure to also grab the associated -devel packages as well, or you will have trouble installing the required Perl interfaces. I think you may have meant libxml2 and libxslt. Yup, that's what I meant. Good

Re: Reading CGI-Params by only using XSLT

2003-02-26 Thread Kip Hampton
Tom Schindl wrote: Hi, can I read XML-Parameters when only using (lib)xslt and not xsp. My problem is, that i have to implement i18n based on an CGI-Parameter. In AxKit, by default, all POSTed and query string params are available from within your XSLT stylesheets via top-level param elements:

Re: Reading CGI-Params by only using XSLT

2003-02-26 Thread Kip Hampton
Christopher H. Laco wrote: Kip Hampton wrote: In AxKit, by default, all POSTed and query string params are available from within your XSLT stylesheets via top-level param elements: Cool Beans. LEarn something new about AxKit every day. Is this for POST only, of also GET querystrings? Both

Re: AxOutputCharset doesn't work

2003-02-28 Thread Kip Hampton
Matt Sergeant wrote: Yes, but if you specify something in your XSLT, it seems like it should probably take priority over httpd.conf settings (similar to the way ?xml-stylesheet? PIs take precedence). Right, so why can't we just make OutputCharset setable in the ConfigReader and pass over the

Re: Reading CGI-Params by only using XSLT

2003-02-28 Thread Kip Hampton
Okay, here's my summary and take on this: First, top-level xsl:param elements are intended to be the mechanism for passing in parameters from outside the styleseet. In an environment like AxKit, those parameters are arguably (at least) the CGI params assocaiated with the current request.

Re: Associating an XSP file with an XML file

2003-03-11 Thread Kip Hampton
Alex Greg wrote: Hi, I've finally got my XSP page generating XML from a database query, and it appears fine in my browser. My next question is, how can I configure AxKit to tranform this XML with an XSL sheet on my server? I've tried: AxAddRootProcessor text/xsl addresses where addresses is the

Re: AxAddDynamicProcessor in pipeline

2003-03-13 Thread Kip Hampton
Jason Johnston wrote: Matt Sergeant wrote: I've been trying to find a way to choose a stylesheet based on some arbitrary structures within my source XML. What do the structures look like? The XML source is RDF-XML. I've created a custom Provider to serialize the XML from an RDF database.

Re: AxAddDynamicProcessor in pipeline

2003-03-15 Thread Kip Hampton
Jason Johnston wrote: Desperately trying to scratch the itch here... ;-) :-) Below is a diff against latest CVS that, at least in my simple testcase, fixes the problem with the ordering of AxAddDynamicProcessor in the pipeline. But like I said before, I'm not a C guy (mostly

Re: my 1.6.1 probs

2003-03-26 Thread Kip Hampton
S Woodside wrote: To add to this, sorry for the spam but I think this is relevant/important. A lot of the discussion on this list seems to assume that those involved consider modifying the AxKit code itself to be a reasonable solution ... to me that's just not an option. Sure, I could probably

Re: displaying sequential output as with nph- CGI's

2003-04-03 Thread Kip Hampton
Matt Sergeant wrote: On Thu, 3 Apr 2003, Derek P Smith wrote: Unfortunately some of my data sources take considerable time to present their data, a situation which I had dealt with previously by using non-parsed headers in my CGI's. This allowed me to present the data as it arrived, every 3-4

Re: axkit: uri parameter passing and Axkit::Apache::pnotes

2003-04-05 Thread Kip Hampton
Chris Leishman wrote: It is however a hack, and one that might be beneficial to lose. I think the latest Cache patches get rid of it, so stick with what works for now, and see what happens in AxKit 1.7. The latest Cache patches don't get rid of it entirely (it is still there and works) but it

Re: axkit: uri parameter passing and Axkit::Apache::pnotes

2003-04-05 Thread Kip Hampton
Chris Leishman wrote: On Saturday, April 5, 2003, at 09:59 PM, Kip Hampton wrote: snip Actually, notes and pnotes are used by Apache modules to pass messages amongst themselves (from the Apache man page). This is fine and good, but using pnotes to pass data around _inside_ a single module

Re: Berkeley DB XML

2003-05-31 Thread Kip Hampton
John Merrells wrote: The query language is XPath, which can be used to select matching documents in a repository, or to select nodes from the selected documents. Just off the top of my head, I can think of several cases and ways that dbxml and AxKit could be useful together: 1) Replacing (or

Re: Berkeley DB XML

2003-06-02 Thread Kip Hampton
Christian Jaeger wrote: Hello I've tried to compile it on a debian woody machine with some parts recompiled from debian unstable. -I/SRCREBUILD/xerces21-2.1.0/build-tree/xerces-c-src2_1_0/src Is it related to the compile problem? Maybe but I don't think so, I'd bet its your Xerces version.

Re: AxKit can't find iconv

2003-06-10 Thread Kip Hampton
Peter Flynn wrote: On Tue, 2003-06-10 at 22:23, S Woodside wrote: This just came up, try the archives. Maybe it should be in the FAQ too. Do you have an exact reference? I don't see any mention of iconv in the logs, and there doesn't appear to be a search engine. A seachable archive of this

Re: XSP XSLT Problem?

2003-06-12 Thread Kip Hampton
Jason Kumpf wrote: snip/ And in my http.conf file I point an xsl sheet for all pages in this dir: Location /home/ AxAddProcessor text/xsl /home/xsl/home.xsl /Location Not sure about what else might be going on, but at the very least you need an another AxAddProcessor directive to clue AxKit

Re: What of AxKit 2.0?

2003-07-28 Thread Kip Hampton
S Woodside wrote: Can I make a request? The ability to specify XSLT parameter values through configuration. -1 This is the sort of thing that custom Plugin classes are for (and is just as do-able with the current version as it would be in any future version). -kip

Re: Newbie: Piping mod_perl output to AxKit

2003-08-29 Thread Kip Hampton
Arne Claassen wrote: I'd like my mod_perl script to output XML and have that picked up as if it was just another XML file the the .xml handler for rendering. DISCLAIMER: In general, you'll save a lot of potential low-level headaches by using XSP or XPathScript ot generate your dynamic markup,

Re: Newbie: Piping mod_perl output to AxKit

2003-08-29 Thread Kip Hampton
Arne Claassen wrote: I use the latter because what i really want to create is XML as the output of my app. And then some extra input argument can decide whethere there is a stylesheet and if there is whether that's for rendering into HTML or some other represenation I've used a very similar

Re: Newbie: Piping mod_perl output to AxKit

2003-08-29 Thread Kip Hampton
Arne Claassen wrote: Huh.. When i created a test.xml and left out ?xml-stylesheet Axkit passed it through as raw XML. D'Oh! That's what I get for writing email before coffee. Having no associated styles used to thow an exception in eariler versions. Which ties into a question about

Re: OpenOffice Provider problem

2003-09-11 Thread Kip Hampton
Cedric Passerini wrote: Here is the error_log : [error] [AxKit] [Sablotron] [45] Error: msgtype:error :: code:45 :: module:Sablotron :: URI:arg:/template :: line:136 :: node:element 'xsl:apply-templates' :: msg:variable not found [warn] [AxKit] Caught an exception I'm using AxKit 1.62, Apache

Re: PHP-generated XML and AxKit

2003-10-07 Thread Kip Hampton
[EMAIL PROTECTED] wrote: Hello all, I think this one may have come up before but I haven't found any clean resolution despite extensive googling and some conversations with AxKit and PHP veterans. I'm using PHP 4.3.0, Apache 1.3.x, and AxKit/mod_perl. I'm curious if anyone has managed to

Re: AxAddProcessor vs. StylePI

2003-10-09 Thread Kip Hampton
Nathan Schroeder wrote: Am I right in thinking there's no way to mix and match ? xml-stylesheet ? tags in an .xml file and AxAddProcessor directives in httpd.conf? My specific question is this: are all AxAddProcessor (and AxAddStyle) directives ignored once a file is determined to have its

Re: Help: Provider::Filter showstopper

2003-10-27 Thread Kip Hampton
Arne Claassen wrote: Well, so much for my architecture built around AxKit. Everything's based around mod_perl apps generating XML, passing it to AxKit for rendering. To do this my application framework implements an AxKit::Provider::Filter and registers itself as an Apache::Filter... only

Re: AxKit configuration for alternate stylesheets

2003-11-04 Thread Kip Hampton
Alistair Ewing wrote: We've set the .co.uk site up with a separate IP address and dealt with it as a separate VirtualHost in our Apache configuration. Any idea how we can call an alternate XSL transformation for our .co.uk site? Can we pass parameters (say the host string) to the XSL

Re: Segmentation fault AxKit 1.62

2003-11-06 Thread Kip Hampton
Adam Griffiths wrote: * I've read the relevant messages on this list. I don't think [From: Alan Edel, Sent: 12 May 2003] applies to me because I DO have large file support. If you read that post [1] carefully its about *turning off* large file support and seemed to help both the author and the

Re: axstylename

2003-11-09 Thread Kip Hampton
S Woodside wrote: AxStyleName #default It owuld be cool if you could give it multiple name such as: AxStyleName #default|rss which would match on default or on ?style=rss as well. You can make a named style the default using the AxStyle directive: AxStyleName foo ... Processor definitions ...

Re: Adopting Debian axkit package

2003-11-17 Thread Kip Hampton
Hi Michael. Michael K. Edwards wrote: Thanks to the AxKit developers for creating a very useful toolkit for XML/Web development. (Most of my work with it isn't on a public web site, but there's an article on www.sane.net about a trivial implementation of an XML-RPC server using AxKit.)

Phat/Rich Clients, AxKit, and the Web's Future

2003-11-18 Thread Kip Hampton
Howdy Axers, There's been a lot of buzz and other noise going on about how the next generation of Web-based applications will be implemented. The problem that is trying to be addressed is not a new one: HTML forms widgets are truly awful for anything beyond the simple contact form apps that

Re: Phat/Rich Clients, AxKit, and the Web's Future

2003-11-19 Thread Kip Hampton
Robin Berjon wrote: Howdy Kipster, Kip Hampton wrote: There's been a lot of buzz and other noise going on about how the next generation of Web-based applications will be implemented. Yes, there's a lot of talk about all this but there are a few facts that just don't seem to make it out. 1

Solution: Test Suite Finds the Wrong Apache

2003-12-09 Thread Kip Hampton
I've seen a few questions go by recently about folks having trouble with the AxKit test suite when 1) they have both Apache 1.3.x and Apache 2.x installed and 2) the directory containing version 2 is found first in the system $PATH. IIRC, the solution suggested was to jiggle the $PATH so that

Solution: Test Suite Finds the Wrong Apache

2003-12-09 Thread Kip Hampton
I've seen a few questions go by recently about folks having trouble with the AxKit test suite when 1) they have both Apache 1.3.x and Apache 2.x installed and 2) the directory containing version 2 is found first in the system $PATH. IIRC, the solution suggested was to jiggle the $PATH so that

Re: Providers and uploads

2003-12-10 Thread Kip Hampton
Sean Evans wrote: But that doesn't ever set $upload to anything. So I'm wondering what I'm doing wrong here. Any thoughts? Something's funny. I just knocked together the following fast 'n' ugly test that returns the uploaded file as the content for AxKit to process (a really bad idea that no

Re: My kingdom for simplicity...

2003-12-30 Thread Kip Hampton
Jim Garvin wrote: See what I mean? I do indeed. Most people that use XSP sucessfully end up casting it as thin layer between the incoming request and a Taglib that does all the real work; all others eventually seem to despair of XSP and look elsewhere (usually custom Application Providers).

Re: xsl:include and provider issues

2004-01-11 Thread Kip Hampton
Martin Bahlinger wrote: Ian Langworth wrote: Any ideas? Might be again this bug: http://rt.cpan.org/NoAuth/Bug.html?id=4518 A workaround I use here at my site: Create Symlinks for /style from FilesystemRoot to your DocumentRoot and specify the included xsl as /style/xsl/podx.xsl or include

Re: Invalid command 'LoadModule' during 'make test'

2004-01-15 Thread Kip Hampton
[EMAIL PROTECTED] wrote: httpd is capable of handling LoadModule. The production copy has 2 modules loaded that way, mod_php and mod_dav. Anyone have any ideas? Usually errors like this pop up when Apache::Test hasn't found the correct httpd to use. Change to directory you unpacked AxKit into

Re: Invalid command 'LoadModule' during 'make test'

2004-01-15 Thread Kip Hampton
[EMAIL PROTECTED] wrote: That didn't work too well. The 'perl Makefile.PL...' yielded: '-APXS' is not a known MakeMaker parameter name. '-HTTP' is not a known MakeMaker parameter name. '/USR/LOCAL/APACHE/BIN/APXS' is not a known MakeMaker parameter name. '/USR/LOCAL/APACHE/BIN/HTTPD' is not a

Re: Provider double-POST weirdness

2004-01-31 Thread Kip Hampton
Ian Langworth wrote: I've written a provider and it appears that AxKit likes to call it (rather, init and strref) twice when I POST to a URI that it handles. There's no redirection and the $r-{args} and such are all the same. Is there a simple explanation for this, or should I provide a few more

Re: Problems using PerForm

2004-01-31 Thread Kip Hampton
Laura Huerta wrote: After reading the docs, still can't figure out what's going wrong. Any help is appreciated. Hi Laura, Well, nothing is *wrong* exactly, its just that the Perform taglib generates an intermediate application grammar that you need to transform into HTML, XUL or whatever

Re: Axkit Installation on default SUSE 9.0 installation

2004-02-09 Thread Kip Hampton
[EMAIL PROTECTED] wrote: # Added to include AxKit directives - PRE 06/02/2004 PerlModule AxKit #SetHandler perl-script #PerlHandler AxKit #AddHandler axkit .xml .xsp .dkb # Install AxKit main parts SetHandler AxKit # Setup style type mappings AxAddStyleMap text/xsl

Re: problem with OpenOffice plugin

2004-03-28 Thread Kip Hampton
Filippo Bardelli wrote: I've tried to use the plugin to view OpenOffice documents but with poor results. So I ask help. With AkKit i can see perfectly an xml, configuring Apache as suggesting in the howtos: both with 'Apache::AxKit::Language::XPathScript' and with

Re: Can't not run AxKit on RHEL3/FC1

2004-04-15 Thread Kip Hampton
Héctor Daniel Cortés González wrote: Hi! I have an AxKit server running on RedHat-7.2. I need to move it to RedHat Enterprise Linux 3 WorkStation. I've been trying several days, but I was unable to get axkit running. I also tried with my Fedora Core 1 PC without success. snip/ [Thu Apr 15

Re: Trying to get my head around Stylesheet Choosing pipeline type stuff

2004-06-17 Thread Kip Hampton
Tom Howe wrote: Hi good folks of Axkit, I've been using axkit for a couple of years now and am planning to migrate from XPathScript to XSLT. I had to add a bunch of features to XPathScript to get it to give me nested components with their own stylesheets and am just planning out how I can do this

Re: Provider get_dom status?

2004-07-12 Thread Kip Hampton
Kjetil Kjernsmo wrote: I've done a first reading of Kip's book now, (Great work, Kip!), and I noticed get_dom method for Providers. It has been mentioned on the list before, I noticed there is code for it in AxKit 1.6.2, but it is undocumented. Also, from the book, it seems like the trick is to

Re: Selecting no stylesheet whatsoever with a StyleChooser

2004-07-13 Thread Kip Hampton
David Nolan wrote: Check out Apache::AxKit::Plugin::Passthru. Its not exactly what you want, but it does provide that functionality. The Plugin that David points to here is probably the preferred way to do this, but note that adding a named style block that resets the processing chain (and

AxKit Welcomes a New Core Committer

2004-07-14 Thread Kip Hampton
Howdy Axers, The Apache AxKit development team is happy to announce the addition of Michael Nachbaur to its list of active core committers. Mike is a long-time AxKit user/developer with a special interest and expertise in RDF/XML and the development of phat Web application interfaces using

Re: Apache::AxKit::Provider method=POST

2004-07-20 Thread Kip Hampton
Tim Hibbard wrote: I have created a custom Axkit Provider and I am having problems processing parameters when the form method is POST. However I have no problems when the form method is GET. I was wondering/hoping if anyone could provide any suggestions or feedback. I can use the GET method,

Announce: O'Reilly's XML Publishing with AxKit

2004-07-21 Thread Kip Hampton
Howdy Axers, Yes, the rumors are (finally) true... _XML Publishing with AxKit_ has been published and is now available at bookseller near you! For more information, please see the Table of Contents below and visit: http://www.axkitbook.com/ I did my best to make sure that book has something for

Re: Announce: O'Reilly's XML Publishing with AxKit

2004-07-22 Thread Kip Hampton
GARY Hoffman wrote: Has anyone used AxKit in conjunction with DreamWeaver or GoLive or a similar program with respect to creating dynamic content for an otherwise static site? Yes, there are several ways to generate content dynamically in AxKit (XSP, XPathScript, custom Providers, etc) but I'm

Re: SAWA + AxKit (was: Content provider or cgi)

2004-09-28 Thread Kip Hampton
[EMAIL PROTECTED] wrote: On 24 Sep 2004 at 13:52, Also Sprach Kjetil Kjernsmo: On fredag 24. september 2004, 11:20, [EMAIL PROTECTED] wrote: The question is, should I stick with the cgi approach or use the content provider class? Which offers more flexibility? Any caveats/experiences appreciated.