I have been attempting to modify a Discography section in the ArtistPerson template and have everything working except for displaying the Album Format correctly. I think this may be somehow related to a section where we are grouping the albums by FormatGroup.

I know on line 996 <xsl:value-of select="format"/> I can change format to other entries (status, catalognumber, etc.) and they show correctly. Only format gives me incorrect display (correct format, but additional data).

Attached is the full ArtistPerson template (which has borrowed many sections from others). Also, if I insert Dave's ArtistPersonDiscography template, which has similar code (but not the FormatGroup), the data reads correctly.

Note: I removed the attachment - it was calling other templates from Common.xsl, etc. and would not run on other's systems. See posting below for a download with those sections disabled to help with troubleshooting this issue.

I'm stuck - any help would be appreciated. Thanks!

Clipboard01.jpg (46.64 KiB) Viewed 519 times

Last edited by Roxie2401 on Sat Oct 06, 2018 1:02 pm, edited 1 time in total.

I'm not a progammer but to me it looks like my ArtistPerson_Tom_Modified is not only populating the actual "Format" but also all the data from the Format table -- Format, FormatID, Format, Sortby, and Format Group." See attached - lookup view Format.

Reel-to-Reel 20 Yes Reel-to-Reel Reel-to-Reel Reel-to-Reel 0

I, like you, hope Dave or others will see this and maybe give some guidance on the template.