hi arne,

If you use 

?operation=gfindObjects&query=...&restXslt=copyXml&fieldMaxLength=0&snippetsMax=0

you will get all indexfields per hit.

If you want to display all indexfields for a pid in a html table, you could do: 

?operation=gfindObjects&query=PID:"..."&restXslt=showIndexDocument&fieldMaxLength=0&snippetsMax=0

and write config.../rest/showIndexDocument.xslt to include:

<table>
<xsl:for-each select="//field">
 <tr>
  <td>
   <xsl:value-of select="@name"/>
  </td>
  <td>
   <xsl:value-of select="."/>
  </td>
</xsl:for-each>
</table>

-gert

-----Original Message-----
From: arne anka [mailto:[email protected]] 
Sent: 8. april 2009 16:04
To: fedora-commons-users
Subject: [Fedora-commons-users] GSearch: gfindObjectsToResultPage and node()

hi,
i try to taylor gfindObjectsToResultPage.xslt to my needs.

the default looks like that

<object>
        <xsl:attribute name="no">
                <xsl:value-of select="@no"/>
        </xsl:attribute>
        <xsl:attribute name="score">
                <xsl:value-of select="@score"/>
        </xsl:attribute>
        <xsl:copy-of select="node()"/>

</object>

two problems:

- node() does not list _all_ indexed fields, far from it
- the currently commented part does not work, using for instance

<field name="title"><xsl:value-of select="dc.title/node()"/></field>

has no effect

is there a way to fetch _all_ index fields at once, namely those i  
definded myself in my FoxmlToLucene xsl?
how do i access specific information in the node, instead of simply   
<xsl:copy-of select="node()"/>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to