XML for vertical flowchart


This page should only be used if the script asks you to pass the manual migration code.20252306.UD-OrgUnitChartGenerator

For the "Vertical organization chart" view of the "Organization chart" service, the input XML has been revised to sax entity and user data in XML format rather than HTML.

The XML generated

<main-user id="content://dfc5a514-3e95-45aa-9446-79eb88fe9d5c" name="gabriel-trillot">
   <role>Adjoint</role>
 <html>
     <head>
        <meta content="Gabriel" name="firstname">
        <meta content="gtrillot" name="user;login">
        <meta content="membres-espaces-projets" name="user;populationId">
      <!-- Autres données de la vue "organizationChart" -->
     </head>
     <body>
        <!--[...]-->
     </body>
 </html>
</main-user>

becomes

<main-user id="content://dfc5a514-3e95-45aa-9446-79eb88fe9d5c" name="gabriel-trillot">
   <role>Adjoint</role>
 <firstname>Gabriel</firstname>
 <user login="gtrillot" populationId="membres-espaces-projets">Gabriel Trillot</user>
 <!-- Autres données de la vue "organizationChart" -->
</main-user>

In the XSL rendering of the vertical flowchart service, you therefore need to modify the instructions to the form

<xsl:variable name="nom" select="main-user/html/head/meta[@name ='lastname']/@content"/>

by

<xsl:variable name="nom" select="main-user/lastname"/>

For another example, replace instructions of the type

<xsl:variable name="login" select="main-user/html/head/meta[@name = 'user;login']/@content"/>

by

<xsl:variable name="login" select="main-user/user/@login"/>

Search for all occurrences of html/head/meta in your visual overloads organization-chart_4.5xsl

The rendering XSL for the "organizationChart" view are no longer used for the vertical organization chart. They can be deleted if only the vertical organization chart is used.

Back to top

User directory