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
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
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
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
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
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]
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
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
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
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:
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,
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
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]
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
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
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
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
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
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,
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
[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
[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
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:
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
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
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.
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
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.
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
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
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
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
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
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
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.
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
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
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
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,
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
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
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
[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
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
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
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
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
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 ...
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.)
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
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
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
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
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
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).
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
[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
[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
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
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
[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
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
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
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
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
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
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
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,
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
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
[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.
71 matches
Mail list logo