Bonjour,

Voilà je fait actuellement un formulaire avec ELgg (ne vous inquiété pas restez lire la suite), et j'ai un problème pour transformer mon CV europass crée en XML
Voilà mon code


<?xml version="1.0" encoding="UTF-8"?>
<europass:learnerinfo xmlns:europass="http://europass.cedefop.europa.eu/Europass/V2.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://europass.cedefop.europa.eu/Europass/V2.0  http://europass.cedefop.europa.eu/xml/EuropassSchema_V2.0.xsd"
 
    locale="en_GB">
    <docinfo>
        <issuedate>2008-10-10T11:50:08+03:00</issuedate>
        <xsdversion>V2.0</xsdversion>
        <comment>Automatically generated Europass CV</comment>
    </docinfo>

     <identification>
        <firstname><?php echo ($vars['cvconvertguid']->firstname); ?></firstname>
        <lastname><?php echo ($vars['cvconvertguid']->surname); ?></lastname>
        <demographics>
            <birthdate><?php echo ( $vars['cvconvertguid']->date); ?></birthdate>
            <gender><?php echo ( $vars['cvconvertguid']->gender); ?></gender>
            <nationality>
                <label><?php echo ( $vars['cvconvertguid']->nationnality); ?></label>
            </nationality>
        </demographics>
        <contactinfo>
        <telephone><?php echo ($vars['cvconvertguid']->telephone); ?></telephone>
        <mobile><?php echo ($vars['cvconvertguid']->mobile); ?></mobile>
        <email><?php echo ($vars['cvconvertguid']->email); ?></email>
        <fax><?php echo ($vars['cvconvertguid']->fax); ?></fax>
        </contactinfo>
    </identification>
    <?php $expro = get_entities_from_relationship("relationCvExp", $vars['cvconvertguid']->guid);?>
    <?php foreach ($expro as $experience):  ?>
    <workexperiencelist>
        <workexperience>
            <period>
                <from>
                    <year><?php echo ($experience->dateexperience ); ?></year>
                    <month>--<?php echo ( $experience->month); ?></month><day>---<?php echo ( $experience->day); ?></day>
                </from>
                <to>
                    <year><?php echo ($experience->dateexperiencefin); ?></year>
                    <month>--<?php echo ( $experience->monthfin); ?></month>
                    <day>---<?php echo ( $experience->dayfin); ?></day>
                </to>
            </period>
            <position>
                <label><?php echo $experience->position; ?></label>
            </position>
            <activities><?php echo ( $experience->responsibilities); ?></activities>
            <employer>
                <name><?php echo ( $experience->employer); ?></name>
                <address>
                    <addressLine><?php echo $experience->addressexp; ?></addressLine>
                    <municipality><?php echo $experience->municipalityexp; ?></municipality>
                    <postalCode><?php echo $experience->postalexp; ?></postalCode>
                    <country>
                        <label><?php echo $experience->countryexp; ?></label>
                    </country>
                </address>
                <sector>
                    <label><?php echo ( $experience->business); ?></label>
                </sector>
            </employer>
        </workexperience>
        <?php endforeach; ?>
    </workexperiencelist>
    <?php $educ = get_entities_from_relationship("relationCvEdu", $vars['cvconvertguid']->guid);?>
    <?php foreach ($educ as $education):  ?>
    <educationlist>
        <education>
            <period>
                <from>
                    <year><?php echo ( $education->dateeducation); ?></year>
                    <month>--<?php echo $education->monthed; ?></month>
                    <day>---<?php echo $education->dayed; ?></day>
                </from>
                <to>
                    <year><?php echo ( $education->dateeducationfin); ?></year>
                    <month>--<?php echo ( $education->monthedfin); ?></month>
                    <day>---<?php echo ( $education->dayedfin); ?></day>
                </to>
            </period>
            <title><?php echo ( $education->qualification); ?></title>
            <skills><?php echo ($education->skills); ?></skills>
            <organisation>

                <name><?php echo ($education->education); ?></name>
                <address>
                    <addressLine><?php echo $education->addressed; ?></addressLine>
                    <municipality><?php echo $education->municipalityed; ?></municipality>
                    <postalCode><?php echo $education->postaled; ?></postalCode>
                    <country>
                        <label><?php echo $education->countryed; ?></label>
                    </country>
                </address>

            </organisation>
            <level>
                <label><?php echo ($education->level); ?></label>
            </level>
        </education>
    </educationlist>
    <?php endforeach; ?>
    <languagelist>
        <language xsi:type="europass:mother">
            <label><?php echo ($vars['cvconvertguid']->languages); ?></label>
        </language>
        <language xsi:type="europass:foreign">
            <label><?php echo ($vars['cvconvertguid']->other); ?></label>
            
        </language>
    </languagelist>
    <skilllist>
        <skill type="social"><?php echo ($vars['cvconvertguid']->socialskills); ?> </skill>
        <skill type="organisational"><?php echo ($vars['cvconvertguid']->orgaskills); ?></skill>
        <skill type="technical"><?php echo ($vars['cvconvertguid']->techskills); ?></skill>
        <skill type="computer"><?php echo ($vars['cvconvertguid']->compskills); ?> </skill>
        <skill type="artistic"><?php echo ($vars['cvconvertguid']->artskills); ?></skill>
        <skill type="other"><?php echo ($vars['cvconvertguid']->otherskills); ?></skill>
        <structured-skill xsi:type="europass:driving">
            <drivinglicence><?php echo ($vars['cvconvertguid']->driving); ?></drivinglicence>>
        </structured-skill>
    </skilllist>
    <misclist>
        <misc type="additional"><?php echo ($vars['cvconvertguid']->info); ?></misc>
        <misc type="annexes"><?php echo ($vars['cvconvertguid']->annexe); ?></misc>
    </misclist>






</europass:learnerinfo>
    


C'est gros c'est pas beau. Bon pour le $vars['convertguid']->info sa contient par exemple le input/text d'information complémentaire

en fait les $vars['converguid']-> contient la valeur que je lui ai associé avec le nom situé après le ->.

Donc voilà il s'agit du fichier xml de CVEuropass si quelqu'un pourrais maider à comprendre un peu vu que c'est la première fois que j'en fait un.

Merci