Hi again, 
I am trying to create my files with stylesheets with xsl but i have a problem.
Imagine you want to make a list with generate_lists.xsl and then in each field 
you need to know if it is a foreign-key or no, to set a tableData(a select) or 
just a label.
If it is a foreign key i need to acess to the foreign_table and get what i 
want. So i have this in dbforms_config.xml:
                <foreign-key  name="FK_tabela_tabela_tipos"
                      foreignTable="tabela_tipos"
                      displayType="select">
                     <reference local="tipo"
                              foreign="id_tipo"/>
                </foreign-key>

And i want to do something like this in generate_lists.xsl but i don't see a way

<xsl:for-each select="field">
     if (is a foreign-key) so put a select with tabledata
     else put a label with the value

Is it possible in this way?


Thanks for your help and support


Andr� Moniz


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to