Remove sed xmlns hack
This commit is contained in:
parent
c7fe29e320
commit
8ae2160f7a
|
@ -29,11 +29,9 @@ CLASSPATH = /users/www/saxon8/saxon8.jar
|
|||
|
||||
$(OUTDIR)%.html: %.xml $(ROOT)/csc.dtd $(ROOT)/xsl/*.xsl directory.xml
|
||||
java -classpath $(CLASSPATH) net.sf.saxon.Transform -o $@ $< $(ROOT)/xsl/html.xsl $(XSLTARGS)
|
||||
sed -i 's| xmlns=""||' $@
|
||||
|
||||
$(OUTDIR)%.atom: %.xml xsl/atom.xsl
|
||||
java -classpath $(CLASSPATH) net.sf.saxon.Transform -o $@ $< $(ROOT)/xsl/atom.xsl $(XSLTARGS)
|
||||
sed -i 's| xmlns=""||' $@
|
||||
|
||||
$(OUTDIR)%.ics: %.xml
|
||||
perl scripts/xml2ics.pl $< > $@
|
||||
|
|
|
@ -2,7 +2,4 @@ FILES = index.html old.html
|
|||
RELDIR = events/
|
||||
include ../common.mk
|
||||
|
||||
build:
|
||||
sed -i 's| xmlns=""||' $(OUTDIR)*.html
|
||||
|
||||
$(OUTDIR)index.html: ../events.xml
|
||||
|
|
|
@ -4,6 +4,3 @@ include ../common.mk
|
|||
|
||||
$(OUTDIR)flash:
|
||||
ln -s ../flash $(OUTDIR)flash
|
||||
|
||||
build:
|
||||
sed -i 's| xmlns=""||' $(OUTDIR)*.html
|
||||
|
|
|
@ -2,7 +2,4 @@ FILES = index.html
|
|||
RELDIR = news/
|
||||
include ../common.mk
|
||||
|
||||
build:
|
||||
sed -i 's| xmlns=""||' $(OUTDIR)*.html
|
||||
|
||||
$(OUTDIR)index.html: ../news.xml
|
||||
|
|
|
@ -45,10 +45,10 @@
|
|||
<xsl:include href="media.xsl" />
|
||||
|
||||
<xsl:template match="*">
|
||||
<xsl:copy>
|
||||
<xsl:element name="{name()}">
|
||||
<xsl:copy-of select="@*" />
|
||||
<xsl:apply-templates />
|
||||
</xsl:copy>
|
||||
</xsl:element>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
Loading…
Reference in New Issue