text-references translation

0 views
Skip to first unread message

Ashok Hariharan

unread,
Aug 4, 2009, 2:29:02 AM8/4/09
to akomantoso-dev
Hi Luca,

I have update the way in which the translator handles ODF
text-references as the <from>

the previous implementation was rendering the <from> in the Speech minixslt :

<http://code.google.com/p/bungeni-portal/source/diff?spec=svn4871&r=4871&format=side&path=/DocTransforms/trunk/ODTtoAKN/resources/odttoakn/minixslt/debaterecord/Speech.xsl&old_path=/DocTransforms/trunk/ODTtoAKN/resources/odttoakn/minixslt/debaterecord/Speech.xsl&old=3774>

this causing translation of the form <from><ref href="x">some
text</ref></from> .. and also there was a bug where paragraph text
inline with the <from> was being lost during translation ...

I have changed this so that the from gets rendered conditionally in
the 'ref' xslt :

<http://code.google.com/p/bungeni-portal/source/diff?path=/DocTransforms/trunk/ODTtoAKN/resources/odttoakn/minixslt/debaterecord/ref.xsl&format=side&r=4870>

so even inline text gets translated ...and the <from> gets generated
without the indented <ref> ... of course normal references still get
rendered as <ref>


Ashok

Reply all
Reply to author
Forward
0 new messages