now all xslt is server side - great...
git-svn-id: http://yolanda.mister-muffin.de/svn@204 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
93d21c2272
commit
47ebae3b4e
1 changed files with 20 additions and 38 deletions
|
@ -134,23 +134,6 @@ sub urlencode
|
|||
}
|
||||
|
||||
sub output_page
|
||||
{
|
||||
if($query->http('USER_AGENT') =~ m{(Firefox/[2-3]|MSIE [6-7]|yolanda-upload)})
|
||||
{
|
||||
#print xml
|
||||
return $session->header(
|
||||
-type=>'text/xml',
|
||||
-charset=>'UTF-8'
|
||||
),
|
||||
XMLout(
|
||||
$page,
|
||||
KeyAttr => {},
|
||||
XMLDecl => $XMLDecl,
|
||||
RootName => 'page',
|
||||
AttrIndent => '1'
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
use XML::LibXSLT;
|
||||
use XML::LibXML;
|
||||
|
@ -178,4 +161,3 @@ sub output_page
|
|||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue