<div dir="ltr">Thanks a lot.<div>Alfredo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-21 10:20 GMT+01:00  <span dir="ltr">&lt;<a href="mailto:martin.braendle@id.uzh.ch" target="_blank">martin.braendle@id.uzh.ch</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p><font size="2" face="sans-serif">It is the indent width in characters.</font><br>
<br>
<font size="2" face="sans-serif">See perl_lib/EPrints/Repository.pm</font><br>
<font size="2" face="Menlo-Regular">=pod</font><br>
<br>
<font size="2" face="Menlo-Regular">=begin InternalDoc</font><br>
<br>
<font size="2" face="Menlo-Regular">=item $xhtml = $repository-&gt;render_data_<wbr>element( $indent, $elementname, $value, [%opts] )</font><br>
<br>
<font size="2" face="Menlo-Regular">This is used to help render neat XML data. It returns a fragment</font><br>
<font size="2" face="Menlo-Regular">containing an element of name $elementname containing the value</font><br>
<font size="2" face="Menlo-Regular">$value, the element is indented by $indent spaces.</font><br>
<br>
<font size="2" face="Menlo-Regular">The %opts describe any extra attributes for the element</font><br>
<br>
<font size="2" face="Menlo-Regular">eg.</font><br>
<font size="2" face="Menlo-Regular">$repository-&gt;render_data_<wbr>element( 4, &quot;foo&quot;, &quot;bar&quot;, class=&gt;&quot;fred&quot; )</font><br>
<br>
<font size="2" face="Menlo-Regular">would return a XML DOM object describing:</font><br>
<font size="2" face="Menlo-Regular">    &lt;foo class=&quot;fred&quot;&gt;bar&lt;/foo&gt;</font><br>
<br>
<font size="2" face="Menlo-Regular">=end InternalDoc</font><br>
<br>
<font size="2" face="Menlo-Regular">=cut</font><br>
<font size="2" face="Menlo-Regular">##############################<wbr>##############################<wbr>##########</font><br>
<br>
<font size="2" face="Menlo-Regular">sub render_data_element</font><br>
<font size="2" face="Menlo-Regular">{</font><br>
<font size="2" face="Menlo-Regular">        my( $self, $indent, $elementname, $value, %opts ) = @_;</font><br>
<br>
<font size="2" face="Menlo-Regular">        return $self-&gt;xhtml-&gt;data_element( $elementname, $value,</font><br>
<font size="2" face="Menlo-Regular">                indent =&gt; $indent,</font><br>
<font size="2" face="Menlo-Regular">                %opts );</font><br>
<font size="2" face="Menlo-Regular">}</font><br>
<br>
<br>
<font size="2" face="sans-serif">Cheers,</font><br>
<br>
<font size="2" face="sans-serif">Martin</font><br>
<br>
<font size="2" face="sans-serif">--</font><br>
<font size="2" face="sans-serif">Dr. Martin Brändle</font><br>
<font size="2" face="sans-serif">Zentrale Informatik</font><br>
<font size="2" face="sans-serif">Universität Zürich</font><br>
<br>
<br>
<img width="16" height="16" src="cid:1__=4EBB0A79DFA0A55C8f9e8a93df9@lotus.uzh.ch" border="0" alt="Inactive hide details for Alfredo Cosco ---21/03/2017 10:10:34---Hi All, i find a function like this:"><font size="2" color="#424282" face="sans-serif">Alfredo Cosco ---21/03/2017 10:10:34---Hi All, i find a function like this:</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">Von:        </font><font size="1" face="sans-serif">Alfredo Cosco &lt;<a href="mailto:alfredo.cosco@gmail.com" target="_blank">alfredo.cosco@gmail.com</a>&gt;</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">An:        </font><font size="1" face="sans-serif"><a href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank">eprints-tech@ecs.soton.ac.uk</a></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Datum:        </font><font size="1" face="sans-serif">21/03/2017 10:10</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Betreff:        </font><font size="1" face="sans-serif">[EP-tech] a question about: render_data_element</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Gesendet von:        </font><font size="1" face="sans-serif"><a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@ecs.<wbr>soton.ac.uk</a></font><br>
</p><hr width="100%" size="2" align="left" noshade style="color:#8091a5"><div><div class="h5"><br>
<br>
<br>
<font size="3" face="serif">Hi All,</font><br>
<font size="3" face="serif">i find a function like this:</font><br>
<br>
<font size="3" face="serif">render_data_element( int, value, value );</font><br>
<br>
<font size="3" face="serif">eg. $dc-&gt;appendChild(  $plugin-&gt;{session}-&gt;render_<wbr>data_element( 8, &quot;dc:&quot;.$_-&gt;[0], $_-&gt;[1] ) );</font><br>
<br>
<font size="3" face="serif">What does it mean the first argument, the int number?</font><br>
<font size="3" face="serif">I can&#39;t find documentation about it </font><br>
<br>
<font size="3" face="serif">Thanks</font><br>
</div></div><font size="3" face="serif">Alfredo</font><tt><font size="2">*** Options: </font></tt><tt><font size="2"><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a></font></tt><tt><font size="2"><br>
*** Archive: </font></tt><tt><font size="2"><a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.<wbr>php/</a></font></tt><tt><font size="2"><br>
*** EPrints community wiki: </font></tt><tt><font size="2"><a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a></font></tt><tt><font size="2"><br>
*** EPrints developers Forum: </font></tt><tt><font size="2"><a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a></font></tt><tt><font size="2"><br>
</font></tt><br>
<br>
<p></p></div>
<br>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.<wbr>php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br></blockquote></div><br></div>