Changeset 3864


Ignore:
Timestamp:
2003-03-12T15:07:06+13:00 (21 years ago)
Author:
kjdon
Message:

new xml format - content has been removed from request and response, document has been renamed to documentNode

Location:
trunk/gsdl3/interfaces/default/transform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/interfaces/default/transform/basicquery.xsl

    r3814 r3864  
    106106  <!-- If query term information is available, display it -->
    107107  <br/>
    108   <xsl:if test="count(content/termList/term) > 0">
     108  <xsl:if test="count(termList/term) > 0">
    109109    <small>
    110110    Word count:
    111     <xsl:for-each select="content/termList/term">
     111    <xsl:for-each select="termList/term">
    112112      <xsl:if test="position() > 1">, </xsl:if>
    113113      <xsl:value-of select="@name"/>: <xsl:value-of select="@freq"/>
     
    135135  <table>
    136136    <tr valign="top">
    137       <xsl:for-each select="content/documentList/documentNode">
     137      <xsl:for-each select="documentNodeList/documentNode">
    138138        <tr>
    139139          <xsl:apply-templates select=".">
  • trunk/gsdl3/interfaces/default/transform/document.xsl

    r3816 r3864  
    3333        <table width="537" cellpadding="0" cellspacing="0">
    3434          <tr>
    35             <xsl:apply-templates select="response/content/document">
     35            <xsl:apply-templates select="response/document">
    3636              <xsl:with-param name="collName" select="$collName"/>
    3737            </xsl:apply-templates>
     
    4444          <tr>
    4545        <td align="left">
    46           <xsl:value-of disable-output-escaping="yes" select="descendant::documentNode/content"/>
     46          <xsl:value-of disable-output-escaping="yes" select="descendant::documentNode/documentNodeContent"/>
    4747        </td>
    4848      </tr>
Note: See TracChangeset for help on using the changeset viewer.