Bugzilla – Attachment 41741 Details for
Bug 32897
templates have hard-coded language
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
I reckon we can, seems to work anyway
demo.sh (text/x-sh), 621 bytes, created by
Caolán McNamara
on 2011-01-07 05:08:21 UTC
(
hide
)
Description:
I reckon we can, seems to work anyway
Filename:
MIME Type:
Creator:
Caolán McNamara
Created:
2011-01-07 05:08:21 UTC
Size:
621 bytes
patch
obsolete
>#!/bin/sh > >XSL=`mktemp` > >cat > $XSL << EOF ><?xml version="1.0" encoding="UTF-8"?> ><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> > ><xsl:template match="node()|@*"> > <xsl:copy> > <xsl:apply-templates select="@*|node()"/> > </xsl:copy> ></xsl:template> > ><xsl:template match="@fo:language"/> ><xsl:template match="@fo:country"/> > ></xsl:stylesheet> >EOF > >echo "stripping language from prs-strategy.otp" >unzip -qc prs-strategy.otp styles.xml > styles.xml.tmpl >xsltproc -o styles.xml $XSL styles.xml.tmpl >zip -qr prs-strategy.otp styles.xml > >rm $XSL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 32897
: 41741 |
41750