BOM show footprint field without library

I’m customizing the script “bom2groupedCsv.xsl”. I want to show the footprint without the library prefix.
This line should insert the whole string:

	<xsl:value-of select="footprint"/><xsl:text>","</xsl:text>

Because this is not Python, I’m not able to able to understand how to remove the prefix.
Example, instead of:

Capacitor_SMD:C_0603_1608Metric

I want

C_0603_1608Metric

use ```
xsl:value-of select=“substring-after(footprint,’:’)” />
instead.
Hope this helps.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.