Permalink
Browse files

=restructuring the repo

  • Loading branch information...
1 parent 6b3dc65 commit d04d975aa88aff4e401275317d7a852c5b62aee2 @tuurma tuurma committed Nov 18, 2015
View
@@ -1,6 +1,6 @@
default: teisimple pm
TEXTS=/Users/rahtz/GDrive/Simple/
-XSL=../Stylesheets
+XSL=../TEI/Stylesheets
ANT_OPTS="-Xss2m -Xmx752m"
teisimple:
@@ -20,7 +20,7 @@ validate:
oxygen:
mkdir -p frameworks/teisimple
- cp tei_simple.framework build-oxygen.xml teisimple.odd elementsummary.xml headeronly.xml simpleelements.xml teisimple.rng teisimple.isosch teisimple.nvdl polygon/*xsl tests/simple.css tests/simple.js frameworks/teisimple
+ cp oxygen/tei_simple.framework oxygen/build-oxygen.xml odd/teisimple.odd odd/elementsummary.xml odd/headeronly.xml odd/simpleelements.xml teisimple.rng teisimple.isosch teisimple.nvdl processingModel/*xsl tests/simple.css tests/simple.js frameworks/teisimple
zip -r simpleoxygen frameworks
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -53,21 +53,21 @@
<param name="verbose" expression="${verbose}" if="verbose"/>
</xslt>
</target>
- <xslt force="yes" style="${XSL}/tools/iden.xsl" in="teisimple.odd" out="xsimple.odd">
+ <xslt force="yes" style="${XSL}/tools/iden.xsl" in="odd/teisimple.odd" out="xsimple.odd">
<factory name="net.sf.saxon.TransformerFactoryImpl">
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
</factory>
</xslt>
<target name="schemas">
- <xslt force="yes" style="${XSL}/odds/odd2odd.xsl" in="teisimple.odd" out="teisimple.compiled.xml">
+ <xslt force="yes" style="${XSL}/odds/odd2odd.xsl" in="odd/teisimple.odd" out="teisimple.compiled.xml">
<factory name="net.sf.saxon.TransformerFactoryImpl">
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
</factory>
<param name="lang" expression="${lang}" if="lang"/>
<param name="verbose" expression="${verbose}" if="verbose"/>
</xslt>
- <xslt force="yes" style="${XSL}/odds/odd2odd.xsl" in="teisimple.odd" out="teisimple.compiled.xml">
+ <xslt force="yes" style="${XSL}/odds/odd2odd.xsl" in="odd/teisimple.odd" out="teisimple.compiled.xml">
<factory name="net.sf.saxon.TransformerFactoryImpl">
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
</factory>
@@ -157,7 +157,7 @@
<param name="autoToc" expression="false"/>
<param name="displayMode" expression="rnc"/>
</xslt>
- <xslt force="yes" style="${XSL}/profiles/tei/html5/to.xsl" in="teisimple.odd" out="teisimple.html">
+ <xslt force="yes" style="${XSL}/profiles/tei/html5/to.xsl" in="odd/teisimple.odd" out="teisimple.html">
<factory name="net.sf.saxon.TransformerFactoryImpl">
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
</factory>
@@ -258,19 +258,19 @@
<target name="pm">
<echo>create simple XSL from PM</echo>
- <xslt force="yes" style="polygon/simpleoddtoxsl.xsl" in="teisimple.odd" out="teisimple-pm.xsl">
+ <xslt force="yes" style="processingModel/simpleoddtoxsl.xsl" in="odd/teisimple.odd" out="teisimple-pm.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl">
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
</factory>
</xslt>
<echo>create MS XSL from PM</echo>
- <xslt force="yes" style="polygon/simpleoddtoxsl.xsl" in="teipm-ms.odd" out="teipm-ms.xsl">
+ <xslt force="yes" style="processingModel/simpleoddtoxsl.xsl" in="teipm-ms.odd" out="teipm-ms.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl">
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
</factory>
</xslt>
<!--
- <xslt force="yes" style="polygon/simpleoddtoxsl-latex.xsl" in="teisimple.odd" out="teisimple-pm-latex.xsl">
+ <xslt force="yes" style="processingModel/simpleoddtoxsl-latex.xsl" in="odd/teisimple.odd" out="teisimple-pm-latex.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl">
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
</factory>
View
@@ -63,7 +63,7 @@ elements are allowed for in the header. The following table
normalize-space(cell[10]) = ''])"/> elements
listed which are <emph>not</emph> allowed in TEI Simple, but should be transformed
to another element.</p>
- <XSL:variable name="corpses" select="distinct-values(doc('count.xml')//elementRef/@corpus)"/>
+ <XSL:variable name="corpses" select="distinct-values(doc('auxiliary/count.xml')//elementRef/@corpus)"/>
<table>
<row role="label">
<cell>Element</cell>
@@ -86,7 +86,7 @@ to another element.</p>
<XSL:variable name="c" select="."/>
<cell rend="right">
<XSL:value-of
- select="format-number(number(sum(doc('count.xml')//elementRef[@key=$e
+ select="format-number(number(sum(doc('auxiliary/count.xml')//elementRef[@key=$e
and @corpus=$c]/@count)),'########')"/>
</cell>
</XSL:for-each>
@@ -143,7 +143,7 @@ to another element.</p>
<xsl:stylesheet version="2.0">
<XSL:for-each-group
- select="doc('teisimple.odd')//attDef[.//processing-instruction()[name()='exactMatch']]"
+ select="doc('odd/teisimple.odd')//attDef[.//processing-instruction()[name()='exactMatch']]"
group-by="@ident">
<XSL:variable name="att" select="current-grouping-key()"/>
<xsl:template mode="pass2 #default" match="@{if ($att='rendition') then 'rend' else $att}">
Oops, something went wrong.

0 comments on commit d04d975

Please sign in to comment.