Matt Sergeant wrote:

<snip/>

> Should a passthru on a request like http://server/test.sxw?passthru=1
> return you:
> 
> a) The OpenOffice document stored on the filesystem.
> b) The XML extracted from the above OpenOffice document (i.e. an AxKit
> handled request, just without any stylesheets applied).

> So overall the question becomes do we change passthru, or do we add some
> new passthru-like operator? I'd prefer to fix passthru, as I hate to add
> extra cruft, but I'm open to other thoughts on this (including ones that
> say "Do nothing - it ain't broke don't fix it").

There may be another option, too. Maybe the passthru Plugin could have
and associated config directive to control this behavior? 

Like, if dir_config has an 'AxProvideOnPassthru' (or whatever) then the
provider gets the XML but does not style it, and without that, it just
works as it is now. I know, its more cruft, prolly, but one size won't
fit all here and there are sane uses for both behaviors.

Thoughts?

-kip
-- 
print join ' ', map { ucfirst($_->getFirstChild->getData)}
XML::LibXML->new()->parse_string(join '', pack "c*", (60, 122, 62, 60,
97, 62, 106, 117, 115, 116, 60, 47, 97, 62, 60, 98, 62, 97, 110, 111,
116, 104, 101, 114, 60, 47, 98, 62, 60, 99, 62, 112, 101, 114, 108, 60,
47, 99, 62, 60, 100, 62, 88, 77, 76, 60, 47, 100, 62, 60, 101, 62, 104,
97, 99, 107, 101, 114, 60, 47, 101, 62, 60, 47, 122,
62))->findnodes('//*[name() != "z"]')->get_nodelist;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to