[Tellico-users] Modification of some report templates
Robby Stephenson
robby at periapsis.org
Tue Aug 25 14:17:15 UTC 2009
On Sunday 23 August 2009, patrick guignot wrote:
> 1) In the file Group_View.xsl I can read this :
>
> <!-- To choose which fields of each entry are printed, change the
> string to a space separated list of field names. To know what
> fields are available, check the Tellico data file for <field>
> elements. -->
> <xsl:param name="column-names" select="'title'"/>
> <xsl:variable name="columns" select="str:tokenize($column-names)"/>
>
> The comment says "change the string"...well yes but wich string ? I tried
> different things but failed. If I have a Tellico collection with 3 fields
> : foo, bar and baz and if I want a report with only foo and bar what is
> the syntax I must use ?
<xsl:param name="column-names" select="'foo bar'"/>
And note there are single-quotes inside the double-quotes. XSL requires that
for string.
> 2) In the file Image_List.xsl there is a hardcoded title for the report :
>
> </style>
> <title>Tellico</title>
> </head>
>
> How can I use my collection title instead of this hardcoded value ?
<title>
<xsl:value-of select="tc:collection/@title"/>
</title>
I should probably fix that.
I think those should work, I didn't test them yet.
Robby
More information about the tellico-users
mailing list