Forums / Setup & design / XSLT XML Support

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

eZ debug

Timing: Jan 19 2025 06:02:28
Script start
Timing: Jan 19 2025 06:02:28
Module start 'content'
Timing: Jan 19 2025 06:02:29
Module end 'content'
Timing: Jan 19 2025 06:02:29
Script end

Main resources:

Total runtime0.9285 sec
Peak memory usage4,096.0000 KB
Database Queries208

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.8516180.8438
Module start 'content' 0.00680.8108 769.6953624.9922
Module end 'content' 0.81750.1109 1,394.6875341.0859
Script end 0.9284  1,735.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4446210.0002
Check MTime0.00170.1820210.0001
Mysql Total
Database connection0.00090.092710.0009
Mysqli_queries0.851591.71362080.0041
Looping result0.00190.20002060.0000
Template Total0.894596.320.4473
Template load0.00230.245620.0011
Template processing0.892296.097020.4461
Template load and register function0.00020.016710.0002
states
state_id_array0.00030.034310.0003
state_identifier_array0.00070.075420.0004
Override
Cache load0.00190.2058380.0001
Sytem overhead
Fetch class attribute can translate value0.00160.171340.0004
Fetch class attribute name0.00170.187390.0002
XML
Image XML parsing0.00130.136240.0003
class_abstraction
Instantiating content class attribute0.00000.0021100.0000
General
dbfile0.00390.4225330.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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