Re: automatic pagination

2002-01-31 Thread Kip Hampton
Terrence Brannon wrote: > What if a website had a "mywebsite" section where each user could > set the height of their screen? How might we take an XML version > (say, docbook) version of an article and paginate it so each part > would fit on their screen and hitting next would move into the >

Re: bug: xsl:import URI resolution

2002-02-03 Thread Kip Hampton
Gary Benson wrote: > > On Sat, 2 Feb 2002, Matt Sergeant wrote: > > 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 apa

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 fac

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

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 elements). I have one that I use here to pass the r

[RFC] Apache::AxKit::Plugin::AddXSLParams::Request (was HTTP_USER_AGENT as a parameter?)

2002-03-15 Thread Kip Hampton
DEPENDENCIES * libapreq * Apache::Request * Apache::Cookie * Apache::URI * AxKit (1.5 or greater) AUTHOR Kip Hampton, [EMAIL PROTECTED] SEE ALSO AxKit, Apache::Request, libapreq, Apache::Cookie, Apache::URI ---

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 t

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] http://hampton.ws/download/files/Apache-AxKit-Plugin-AddX

Re: Configuring Apache to pass parameters to toplevel stylesheet?

2002-04-08 Thread Kip Hampton
windows) ? 'WINDOWS' : > ($bd->mac) ? 'MAC' : 'OTHER'; > >$a->parms->set('browser.vendor',$vendor); >$a->parms->set('browser.platform', $platform); >$a->parms->set('b

Re: ErrorStylesheet

2002-05-29 Thread Kip Hampton
Paul Lieberman wrote: > > I'm getting > ErrorStylesheet: No module mapping found for type '' > when trying to veiw the test documents from the instructions. The xml > file clearly shows the type= attribute and I get the same error with > both the xsl and the xpathscript stylesheets. I added

Re: AxKit and CGI

2002-06-03 Thread Kip Hampton
Paul Lieberman wrote: > > If I enable AxKit then I get the perl code of the CGI file itself > (bad!). The error log shows AxKit 'not recognised as XML' and 'provider > declined' . > How can I get CGI scripts and AxKit working at the same time? What if you just limit the scope of what AxKit

Re: alternate stylesheets and AxAddProcessor...

2002-06-13 Thread Kip Hampton
Hi Kevin, Kevin Stefanik wrote: > > Is there a way to define the alternate stylesheets to be used by an xml file > without putting the processing instructions into the xml file itself? The > stylesheets with which I need to do this feat are all just xsl. > > I'm currently using stylesheet proc

Re: AxKit Win32

2002-07-11 Thread Kip Hampton
cation of what 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/vi

Re: Style Sheet Choosing

2002-07-11 Thread Kip Hampton
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://conferences.oreillynet.com/os2002/ http://conference

RE: Style Sheet Choosing [PATCH?]

2002-07-11 Thread Kip Hampton
#x27;t think its silly at all; AxKit should just get out of the way, when and where it can. I'd be +1 on adding your patch, anyone else have thoughts? -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: > Instead I just want to be able to > pass through my entities like ©, and so on without any hassle. I > don't want to have to use © > and other ugly constructions like that, or have to create length > doctype declarations and so on.

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: /us

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: Segfaults in Latest CVS

2003-01-02 Thread Kip Hampton
On Thursday 02 January 2003 04:30 am, Matt Sergeant wrote: > Any chance it's conflicting build flags between perl and mod_perl (e.g. > LARGE_FILES and/or 64 bit ints)? Same for both perl and mod_perl (double-checked) > Alternatively any chance it's due to > something like PHP loaded into your a

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 #PerlHa

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] han

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 c

Re: More newbie questions

2003-02-02 Thread Kip Hampton
David Chaplin-Loebell wrote: Hello-- I'm trying to get AxKit working on my development server and I'm having a tough time. My apologies if this is a FAQ-- I've read the available documentation, but it's possible I'm just not recognizing the I'm using the FreeBSD ports versions of Apache, mod_per

Re: AxKit for web applications

2003-02-03 Thread Kip Hampton
David Chaplin-Loebell wrote: Has anyone already written this provider? Am I on the right track in assuming this would be how to do it? Yup, a Provider is one way. An (XSP|XPS|SAX Filter) taglib is another. There's no hard and fast rule, but a good convention for deciding if a Provider or one

Re: AxKit for web applications

2003-02-03 Thread Kip Hampton
Matt Sergeant wrote: It's one way to do it. I personally haven't used the provider method (see the Wiki for how I did it), because I feel it lacks flexibility. Given that a Provider has access to everything that is available for the Language modules *and* gets to control both the content and t

Re: AxKit for web applications

2003-02-03 Thread Kip Hampton
Matt Sergeant wrote: On Monday, Feb 3, 2003, at 19:09 Europe/London, Kip Hampton wrote: Given that a Provider has access to everything that is available for the Language modules *and* gets to control both the content and the styles that are applied, how does it lack flexibilty, exactly

Re: AxKit for web applications

2003-02-03 Thread Kip Hampton
Tod Harter wrote: > Granted you could do the same logic in a provider, but I just see taglibs as being more generic (ie you can get your input params from anywhere XSP can get data from whereas a provider is really pretty limited in that respect). Explain. Any subclass of Apache::AxKit::Pro

Re: AxKit for web applications

2003-02-03 Thread Kip Hampton
me code that creates 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 con

Re: AxKit Install Help!

2003-02-06 Thread Kip Hampton
Hi Robert. Robert Ferney wrote: Been trying to install AxKit on RH 8.0 figured out that they had installed Apache 2.0.. removed it, and installed Apache 1.3 something and the matching mod_perl from source.. then attempted CPAN install of AxKit.. and the tests failed on a fiew modules... any hint

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 inc

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, -ki

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 ap

Updated Quickstart Guide

2003-02-18 Thread Kip Hampton
Howdy Axers, As the subject suggests, an updated Quickstart (reflecting more modern configuration options, etc.) is now available [1] Comments (that consist of something more that "Eeew, XPathScript is still in there") are most welcome. -kip [1] http://axkit.org/wiki/view/AxKit/QuickStart -

Re: Updated Quickstart Guide

2003-02-18 Thread Kip Hampton
S Woodside wrote: Looks good. I think that the inclusion of XSLT and XPS is an OK compromise. Examples using both XSLT and XPS have *always* been a part of the Quickstart...I'm glad you approve; I'm just not sure where the "compromise" is.. :-) Is it possible however to "recommend" XSLT? "

Re: command-line usage?

2003-02-20 Thread Kip Hampton
Thomas_M wrote: Now that I've perused more of the AxKit documentation, I'm thinking perhaps I could rewrite the data-insertion routine as a taglib. Could this be done at the end of a pipeline instead of beginning? I figure this would be more cache-friendly, as the the pipeline creating the xhtml

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 cat

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: Reading CGI-Params by only using XSLT

2003-02-26 Thread Kip Hampton
Nik Clayton wrote: Sweet. Is this documented anywhere? If not, I'll try and find somewhere useful to add it. Good idea. A related question -- can we get at the Apache configuration settings through a similar mechanism? Or at least any variables that have been set with PerlSetVar? You could pre

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 PIs take precedence). Right, so why can't we just make OutputCharset setable in the ConfigReader and pass over the value from the Langu

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 PIs take precedence). Right, so why can't we just make OutputCharset setable in the ConfigReader and pass over the value from the Langu

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 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. Second, using

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 r

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 databa

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 hunt-peck-copy-pas

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 sec

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 r

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: 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 mod

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 add

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. Th

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 l

Re: XSP XSLT Problem?

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

Re: Provider Problems

2003-06-26 Thread Kip Hampton
Robert Ferney wrote: Sorry for the mail spam yall. No problem-- sorry you had to resort to such a one-sided conversation :-) Just to follow up, though: you're right, you should be using AxContentProvider instead of AxProvider. I'll post the details (that a crappy SMTP host precluded me from send

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, so

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 strate

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 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 AxAddProcessor text/xsl s

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 '' :: msg:variable not found [warn] [AxKit] Caught an exception I'm using AxKit 1.62, Apache 1.3.26, mod_perl 1.27

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 fi

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 tags in an .xml file and AxAddProcessor directives in httpd.conf? My specific question is this: are all AxAddProcessor (and ) directives ignored once a file is determined to have its own stylesheet tags? I'm tryin

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 prob

Re: Apache2

2003-10-27 Thread Kip Hampton
Michael Scheffler wrote: Dear list, sorry if this is asked often (although I can't find anything in archives ...): what is the current status/plans of Apache2-support for AxKit? It currently in heavy development. It may be a little while before the code is available publically as we are also ref

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 styleshee

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: It owuld be cool if you could give it multiple name such as: which would match on default or on ?style=rss as well. You can make a named style the default using the AxStyle directive: ... Processor definitions ... ... Processor definitions ... ... Processor definitio

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.) Hopefull

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 m

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 t

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 t

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 one

Re: Getting Apache documentroot from within a TaglibHelper-based Taglib

2003-12-22 Thread Kip Hampton
James Lavery wrote: Hi all, In my Taglib, which I've written using TaglibHelper, I need to create some temporary files under my documentroot, and then reference them in my final HTML. In order to do this elegantly, I need to be able to get the location of documentroot at run time. Can I get th

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). T

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 a

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 kno

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 your

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 Apache::AxKit::Language::LibXSLT

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 'Apache::AxKit::Language::Sabl

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. [Thu Apr 15 17:17:46 20

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 u

Re: axkit:// URLs

2004-06-21 Thread Kip Hampton
Martin Oldfield wrote: Thanks for this. Sorry to be dense, but how is this better than just fetching it with http: ? Is it just efficiency ? "Better" is a matter for debate... axkit:// URIs differ from http:// URIs that point back to the current host in that: 1) There is no additional HTTP requ

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 adds

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 M

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 not

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

2004-07-22 Thread Kip Hampton
Tom Howe wrote: looks good but I mostly bought it on principal! Well, I'd hope that you would actually *read* it-- but a sale is a sale, I suppose. In that same vein, I guess I should point out that the book could also be quite handy for shoring up that annoying wobbly desk or coffee table... ;

AxKit At ApacheCon

2004-09-20 Thread Kip Hampton
Howdy Axers, For those who may not already know, I'll be giving an 3 hour in-depth tutorial on AxKit at this year's ApacheCon US. http://apachecon.com/2004/US/index.html If you haven't ever been to ApacheCon, I simply can't recommend it highly enough. The conference is focused (all Apache, all t

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

2004-09-27 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. I