Is oddbyexample.xsl working for anyone? https://github.com/TEIC/Stylesheets/blob/dev/tools/oddbyexample.xsl This used to work. I don't think it not functioning for me is related to changes to in Pure ODD because I get the same error when I point to an earlier version of p5subset.xml for it to use. Before I try to diagnose it further, I wanted to check it wasn't working for others. -James -- Dr James Cummings, James.Cummings@it.ox.ac.uk Academic IT Services, University of Oxford
Was working last time I looked but possibly not from that url. What sort of "not working"? Sent from my Samsung Galaxy TabĀ®|PRO -------- Original message -------- From: James Cummings Date:2016/11/10 13:26 (GMT+00:00) To: TEI Council Subject: [tei-council] oddbyexample Is oddbyexample.xsl working for anyone? https://github.com/TEIC/Stylesheets/blob/dev/tools/oddbyexample.xsl This used to work. I don't think it not functioning for me is related to changes to in Pure ODD because I get the same error when I point to an earlier version of p5subset.xml for it to use. Before I try to diagnose it further, I wanted to check it wasn't working for others. -James -- Dr James Cummings, James.Cummings@it.ox.ac.uk Academic IT Services, University of Oxford -- tei-council mailing list tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council PLEASE NOTE: postings to this list are publicly archived
Yup, just checked it (using Oxygen 17.1 though) and it worked as expected, following this recipe: <list> <head>Generate an ODD from a folder of valid TEI XML files</head> <item>Open any TEI XML file in the folder</item> <item>Choose <ident>Transformation -> Configure Transformation Scenario(s)</ident> from the<ident> Document</ident> menu</item> <item>Click <ident>New</ident> et choose "XML Transformation with XSLT"</item> <item>Give your scenario a name ("oddGenerator" for example)</item> <item>Leave XML URL as it is. Change XSL URL to point to the stylesheet <ident>oddbyexample.xsl</ident> in your TEI Framework directory directory. Enter <code>${frameworks}/tei/xml/tei/stylesheet/tools/oddbyexample.xsl</code> to find it</item> <item>Choose <ident>Saxon-PE 9.4.0.4</ident> as processor</item> <item>Click the little yellow wheel next to this window to select Advanced Options: you need to set <code>Template("-it")</code> to <code>main</code> </item> <item>Click the <ident>Parameters</ident> button : you need to set the <code>corpus</code> parameter to contain the full name of the folder which you want to analyse. Assuming you opened one of its files in step 1 above, just set the parameter to <code>${cfd}</code> and click OK </item> <item>Now select the <ident>Output</ident> tab ... <list> <item>In the <ident>Save as</ident> window supply an output filename such as generated.odd </item> <item>Tick the <ident>Open in editor</ident> box </item> <item>Select the XML radio button underneath <ident>Show in results view as</ident> and click OK</item> </list> </item> <item>Launch the transformation by clicking the <ident>Apply Associated</ident> button</item> <item>If everything works, you should see the resulting ODD file <ident>generated.odd</ident></item> </list> On 10/11/16 13:26, James Cummings wrote:
Is oddbyexample.xsl working for anyone? https://github.com/TEIC/Stylesheets/blob/dev/tools/oddbyexample.xsl
This used to work. I don't think it not functioning for me is related to changes to in Pure ODD because I get the same error when I point to an earlier version of p5subset.xml for it to use.
Before I try to diagnose it further, I wanted to check it wasn't working for others.
-James
participants (2)
-
James Cummings
-
Lou Burnard