Learning XSL

Urban Planet urbanplanet.manticore at gmail.com
Mon Oct 8 09:21:24 BST 2018


El vie., 5 oct. 2018 a las 13:32, Robby Stephenson escribió:

> On Thu, Oct 4, 2018 at 12:39 PM Urban Planet
> > But this means that if we want to modify the template, we must learn
> XSL, isn't it?
>
> Then, remove the restriction to be music collections only by deleting
> these lines:
>
> <xsl:template match="tc:collection[@type!=4]">
>  <h1><i18n>This template is meant for music collections only.</i18n></h1>
> </xsl:template>
>
> And changing the next line from
> <xsl:template match="tc:collection[@type=4]">
> to
> <xsl:template match="tc:collection">
> which essentially allow the template to apply to any collection type.
>
> Then do a search/replace for artist to author and see how well that works.
>
> Ok.  All steps  done and now we have exactaly what we want.  Thanks again!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20181008/d3236a50/attachment.html>


More information about the tellico-users mailing list