AnsweredAssumed Answered

Perform search and display record in another layout

Question asked by dell on Jun 23, 2009

Title

Perform search and display record in another layout

Your post

I am currently using FMS 8 to build a online database via CWP. I have 2 layouts - Journal and Reference.

 

In Journal, I have the following fields -  Title, number of pages, description, ReferenceCode etc

 

In Reference, I have ReferencCode, AuthorName, Publications

 

Using XSLT assistant, I have managed to create 2 search forms whichn allows me to search for Journal and Reference details. 

 

Now, I would like to create a hyperlink for ReferenceCode (Journal) which on click, would bring me to another page (recordlist.xsl I reckon) and display the corresponding record in Reference layout. 

 

I could only think of:

 

<a>

  <xsl:attribute name="href">

  <xsl:call-template name="queryRef">

     <xsl:with-param name="refDesc">

       <xsl:value-of select="."/>
     </xsl:with-param>
   </xsl:call-template>
   </xsl:attribute>
     <xsl:value-of select="."/>

</a>

 

Please advise on what codings I should place in <xsl:template name="queryRef">


Outcomes