XSLT XML Support

Author Message

Olivier Pierret

Sunday 30 January 2005 3:05:34 pm

Hello,

I'd like to integrate content produced by XML/XSLT Transformation into an EZ Publish site. In more detail, I have an xml content that I'd like present as a HTML page into an EZ Publish site. Since content is xml, I find natural and sensible to use XSLT to produce HTML markup.

Is there any way to integrate the XSLT Transform mechanism in EZ Publish ? (Idealy I would like to integrate the result of XSLT Transform into the general template pagelayout.tpl)

Thank you in advance for your tips

Olivier

Ekkehard Dörre

Monday 31 January 2005 9:35:57 am

Hi,

look here:
http://ez.no/community/contribs/template_plugins/xslt_template_operator
http://ez.no/community/forum/setup_design/macromedia_flash_ezpublish_expanding_possibilities

Greeting, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Olivier Pierret

Monday 31 January 2005 2:00:10 pm

Many Thanks!

The first link is exactly what I am looking for. Actually I read about that extension somewhere in this site but could not figure out where to find the actual files ...

Olivier

Ekkehard Dörre

Saturday 05 February 2005 5:40:03 am

Is it working in a new version of ez (3.5) ?

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Olivier Pierret

Saturday 05 February 2005 3:25:53 pm

Well... not yet tested - I'll let you know in a near future

Olivier Pierret

Tuesday 08 February 2005 4:25:35 am

Finally I tested the XSLT stuff. It works in 3.5 with the following remark (not specifically related to 3.5 version)
- You need to install sablotron.
- To so on win32 go and get a win32 distribution (same version as already installed by the EZ Publish installer!).
- Copy extension files in the correct directory
- copy sablot.dll, expat.dll, iconv.dll in system32
- uncomment "extension=php_xslt.dll" in extension section of the php.ini

- you need to start your xml file with a proper XML header <?xml version="1.0" encoding="UTF-8"?>

So everything seem fine to me.

Tom Couwberghs

Wednesday 09 February 2005 12:54:46 am

Nice to see someone using my contribution...

Suggestions always welcome

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 08:14:36
Script start
Timing: Jan 31 2025 08:14:36
Module start 'layout'
Timing: Jan 31 2025 08:14:36
Module start 'content'
Timing: Jan 31 2025 08:14:36
Module end 'content'
Timing: Jan 31 2025 08:14:36
Script end

Main resources:

Total runtime0.6791 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0313151.1953
Module start 'layout' 0.00570.0024 739.226636.6172
Module start 'content' 0.00820.6701 775.84381,015.6875
Module end 'content' 0.67830.0008 1,791.531315.8750
Script end 0.6791  1,807.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4634160.0002
Check MTime0.00130.1889160.0001
Mysql Total
Database connection0.00100.149910.0010
Mysqli_queries0.614790.5077710.0087
Looping result0.00060.0826690.0000
Template Total0.643594.820.3217
Template load0.00190.284520.0010
Template processing0.641594.466620.3208
Template load and register function0.00140.202610.0014
states
state_id_array0.00110.163010.0011
state_identifier_array0.00100.144720.0005
Override
Cache load0.00160.2351380.0000
Sytem overhead
Fetch class attribute can translate value0.00070.101330.0002
Fetch class attribute name0.00210.314490.0002
XML
Image XML parsing0.00430.637330.0014
class_abstraction
Instantiating content class attribute0.00000.0033100.0000
General
dbfile0.00580.8568220.0003
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs