How can i import XML documents

Author Message

Präßler Sven

Thursday 19 May 2005 3:56:11 am

Hi i'm searching for a script or method to import several XML documents and a guide how to do this.
I've tested the 2 contributions for import from the contribution site of ezPublish but they don't work and I don't know why.
thanks and sorry for my english

Łukasz Serwatka

Monday 06 June 2005 12:53:11 am

Hi,

Have you tried with this extension?
http://ez.no/community/contribs/import_export/import_xml_data

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Präßler Sven

Monday 20 June 2005 12:52:58 am

Yes i`ve tried this extension but without success,
sometimes the extensions generates an article but without the content only the empty document.

Präßler Sven

Wednesday 22 June 2005 12:33:47 am

Now it works but it thats not what i`ve searched for.
I'm looking for a extension or a method or a HOWTO for importing formated data in a xml text field.

I've also tried the script from the documentation on howto import attribute data but i'm not able to make it work.

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 06:29:59
Script start
Timing: Jan 31 2025 06:29:59
Module start 'layout'
Timing: Jan 31 2025 06:29:59
Module start 'content'
Timing: Jan 31 2025 06:30:00
Module end 'content'
Timing: Jan 31 2025 06:30:00
Script end

Main resources:

Total runtime1.1321 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.1250151.2109
Module start 'layout' 0.00770.0034 739.335936.6484
Module start 'content' 0.01111.1200 775.9844940.2578
Module end 'content' 1.13120.0009 1,716.242211.8516
Script end 1.1321  1,728.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2918160.0002
Check MTime0.00130.1177160.0001
Mysql Total
Database connection0.00150.134310.0015
Mysqli_queries1.070094.5100600.0178
Looping result0.00060.0522580.0000
Template Total1.073794.820.5369
Template load0.00240.213520.0012
Template processing1.071394.625620.5356
Template load and register function0.00190.167410.0019
states
state_id_array0.00720.634910.0072
state_identifier_array0.00250.219120.0012
Override
Cache load0.00190.1711180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.042920.0002
Fetch class attribute name0.00350.310050.0007
XML
Image XML parsing0.00070.062620.0004
class_abstraction
Instantiating content class attribute0.00000.001550.0000
General
dbfile0.00080.0705180.0000
String conversion0.00000.000840.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs