<!-- if you want to validate this file separately, uncomment this prolog: <?xml version="1.0" ?> <!DOCTYPE chapter PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd"> --> <sect1 id="kugardata-element"> <sect1info> <authorgroup> <author ><firstname >Alexander</firstname > <surname >Dymo</surname > <affiliation > <address ><email >cloudtemple@mksat.net</email ></address> </affiliation> </author> <author ><firstname >Phil</firstname > <surname >Thompson</surname > <affiliation > <address ><email >phil@river-bank.demon.co.uk</email ></address> </affiliation> </author> <othercredit role="translator" ><firstname >Federico</firstname ><surname >Zenith</surname ><affiliation ><address ><email >zenith@chemeng.ntnu.no</email ></address ></affiliation ><contrib >Traduzione della documentazione in italiano</contrib ></othercredit > </authorgroup> </sect1info> <title ><sgmltag class="element" >Elemento KugarData</sgmltag ></title> <para >L'elemento <sgmltag class="element" >KugarData</sgmltag > definisce la sorgente dei dati di un rapporto. La struttura di base è una raccolta di righe e colonne. Questo documento non definisce i tipi di dati e i loro attributi. Il modello di rapporto definisce le informazioni sui tipi di dati delle colonne. </para> <para >Il creatore di documenti può applicare un foglio di stile &XSL; a un documento esistente per convertirlo in questo formato. Se viene usato &XSL; il creatore può applicare macro personalizzate usando &XSL; per i calcoli delle colonne, l'ordinamento, &etc; </para> <synopsis ><!ELEMENT KugarData (Row*)> <!ATTLIST KugarData Template CDATA #REQUIRED> <!ELEMENT Row EMPTY> <!ATTLIST Row level CDATA #REQUIRED col1 CDATA #IMPLIED col2 CDATA #IMPLIED ... CDATA #IMPLIED coln CDATA #IMPLIED> </synopsis> <sect2 id="kugar-data-element"> <title >Elemento Kugardata</title> <para >L'elemento <sgmltag class="element" >KugarData</sgmltag > contiene zero o più elementi <sgmltag class="element" >Row</sgmltag >. Un <sgmltag class="element" >Row</sgmltag > deve contenere un attributo <sgmltag class="attribute" >level</sgmltag > con valore corrispondente al livello di dettaglio nel modello. Gli altri attributi rappresentano le colonne di dati. </para> <para ><anchor id="template-att"/>Il valore dell'attributo <sgmltag class="attribute" >Template</sgmltag > è l'&URL; del modello di rapporto usato per formattare i dati. </para> <!-- <variablelist> <varlistentry id="template-att"> <term ><sgmltag class="attribute" >Template</sgmltag ></term> <listitem> <para> This is an attribute of the <sgmltag class="element" >KugarData</sgmltag> element. The value of the attribute is the &URL; of the report template used to format the data. </para> </listitem> </varlistentry> --> </sect2> <sect2 id="row-element"> <title >Elemento Row</title> <variablelist> <varlistentry> <term >Attributi</term> <listitem> <variablelist> <varlistentry> <term ><anchor id="level-att"/><sgmltag class="attribute" >level</sgmltag ></term> <listitem> <para >Il valore dell'attributo indica quale dettaglio viene usato nel modello del rapporto per far vedere i dati. Le righe possono contenere vari insiemi di colonne per vari livelli, quindi ogni attributo tranne <sgmltag class="attribute" >level</sgmltag > dovrebbe essere dichiarato come #IMPLIED. </para> </listitem> </varlistentry> <varlistentry> <term ><anchor id="column-att"/><sgmltag class="attribute" >column</sgmltag ></term> <listitem> <para >Il nome dell'attributo è il nome della colonna, e usa il formato come viene dato nella definizione di <sgmltag class="element" >KugarData</sgmltag >. Il nome dell'attributo è usato nel modello di rapporto per collegare i dati ai campi del rapporto. </para> </listitem> </varlistentry> </variablelist> </listitem> </varlistentry> </variablelist> </sect2> </sect1>