On 15 March 2014 17:15, Gaurav Agrawal <[email protected]> wrote:
> Hello Mikel/Jimmy,
>
> I have completed the coding challenge for the project Unify the Metadix
> Format.
>
> I have put it on the github at link mentioned below : (with the details in
> the readme.txt)
>
> https://github.com/ergaurav2/apertium-unify-metadix-coding-challenge
>
> Please review the same and guide me further.
>

The template matching 'i' elements is not calling further matches
(IOW, it's not outputting <s> from <i>):

$ cat test.xml
<dictionary>
<alphabet>asdas</alphabet>
<sdefs>
  <sdef n="foo"/>
</sdefs>
<section id="main" type="standard">
  <e><i>foo<s n="foo"/></i></e>
  <e><p><l>foo<s n="foo"/></l><r>bar<s n="foo"/></r></p></e>
</section>
</dictionary>

$ xsltproc convert.xsl test.xml
(foo:foo)
(foo<foo>:bar<foo>)

-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to