You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<run top="755" left="194" width="486" height="16" size="15" rendition="#f17">
<hi rend="italics">by a whom the and join.</hi> CLIENT LADY GENTLEMAN
</run>
when processed by pt3.xsl
The text was updated successfully, but these errors were encountered:
The problem is with the template for *:i which includes <xsl:apply-templates select="node() | following-sibling::*[self::*:i]/node()"/>
the effect of which is to destroy the order of the components inside mixed content. As a temporary fix, I changed this to simply <xsl:apply-templates select="node()"/> . This means we may have multiple consecutive <hi> elements which should be combined of course.
A similar problem shows up when we have an italic sequence which spans two runs@ like this: < l level="0" left="208" top="773" size="17" bottom="790" right="687"> <run top="773" left="208" width="460" height="18" size="17" rendition="#f21"> <i xmlns="">Latour.</i> I now ask you to get out of my house.<i xmlns=""> (In </i></run> <run top="773" left="649" width="38" height="18" size="17" rendition="#f21"><i xmlns="">fury)</i> </run></l>
This becomes
<l level="0" left="208" top="773" size="17" bottom="790" right="687"> <run top="773" left="208" width="460" height="18" size="17" rendition="#f21"><hi rend="italics" >Latour. (In </hi> I now ask you to get out of my house.</run><run top="773" left="649" width="38" height="18" size="17" rendition="#f21"><hi rend="italics" >fury)</hi></run></l>
A run like thus
becomes
when processed by pt3.xsl
The text was updated successfully, but these errors were encountered: