← Prev in month ← Prev in thread
Next in thread → Next in month →

Unusual inline code examples

From
Andrew Swift
Date
2011-05-10T14:05:00+00:00
ID
Thread
Unusual inline code examples
Attached is an XML file containing a few examples of some more unusual inline codes that have been taken from xliff files seen in the ‘real world’.

Thanks,
Andrew


Andrew Swift

Development Manager
SDL
 Language Technologies Division
 +44 (0) 114 2535 247

www.sdl.com/sdl-vision
SDL PLC confidential, all rights reserved.  If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.  SDL PLC is a public limited company registered in England and Wales.  Registered number: 02675207.  Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.


 <tag id="6"><bpt name="hyperlink" word-end="false">&lt;hyperlink value="<sub xid="40700291-8cbe-473a-8f40-34185bf011df"> http://RR.HH.la </sub>"&gt;</bpt><bpt-props><value key="property">&lt;w:rPr xmlns:w=" http://schemas.openxmlformats.org/wordprocessingml/2006/main"&gt ;

&lt;w:rFonts w:ascii="Tahoma" w:hAnsi="Tahoma" /&gt;

&lt;w:spacing w:val="2" /&gt;

&lt;w:sz w:val="11" /&gt;

&lt;w:u w:val="single" /&gt;

&lt;w:lang w:val="es-ES" /&gt;
 &lt;/w:rPr&gt;</value><value key="rid">rId9</value><value key="CheckLength">0,256</value></bpt-props><ept name="hyperlink" word-end="false">&lt;/hyperlink&gt;</ept><fmt id="4" /></tag>

 <tag id="1"><ph name="Comment" word-end="false" seg-hint="MayExclude">&lt;!--

Microsoft ResX Schema

Version 2.0

The primary goals of this format is to allow a simple XML format

that is mostly human readable. The generation and parsing of the

various data types are done through the TypeConverter classes

associated with the data types.

Example:

... ado.net/XML headers &amp; schema ...

&lt;resheader name="resmimetype"&gt;text/microsoft-resx&lt;/resheader&gt;

&lt;resheader name="version"&gt;2.0&lt;/resheader&gt;

&lt;resheader name="reader"&gt;System.Resources.ResXResourceReader, System.Windows.Forms, ...&lt;/resheader&gt;

&lt;resheader name="writer"&gt;System.Resources.ResXResourceWriter, System.Windows.Forms, ...&lt;/resheader&gt;

&lt;data name="Name1"&gt;&lt;value&gt;this is my long string&lt;/value&gt;&lt;comment&gt;this is a comment&lt;/comment&gt;&lt;/data&gt;

&lt;data name="Color1" type="System.Drawing.Color, System.Drawing"&gt;Blue&lt;/data&gt;

&lt;data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"&gt;

&lt;value&gt;[base64 mime encoded serialized .NET Framework object]&lt;/value&gt;

&lt;/data&gt;

&lt;data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"&gt;

&lt;value&gt;[base64 mime encoded string representing a byte array form of the .NET Framework object]&lt;/value&gt;

&lt;comment&gt;This is a comment&lt;/comment&gt;

&lt;/data&gt;

<!-- snip! -->

: System.Runtime.Serialization.Formatters.Soap.SoapFormatter

: and then encoded with base64 encoding.

mimetype: application/x-microsoft.net.object.bytearray.base64

value
: The object must be serialized into a byte array

: using a System.ComponentModel.TypeConverter

: and then encoded with base64 encoding.

--&gt;</ph></tag>

 <sdl:tag id="220"><sdl:ph display-text="t" is-word-stop="false">&lt;t code="&lt;XRef
 Linkend="l849"/&gt;" id="12"/&gt;</sdl:ph>

 <tag id="0"><ph name="Comment" word-end="false" seg-hint="MayExclude">&lt;!--
 This file is part of the DITA Open Toolkit project hosted on Sourceforge.net.
 See the accompanying license.txt file for applicable licenses.
 --&gt;</ph></tag>

 <tag id="7"><bpt name="cf" word-end="false">&lt;cf font="Tahoma" size="5.5" nfa="true"&gt;</bpt><bpt-props><value key="privateuseareachar">false</value><value key="property">&lt;w:rPr xmlns:w=" http://schemas.openxmlformats.org/wordprocessingml/2006/main"&gt ;

&lt;w:rFonts w:ascii="Tahoma" w:hAnsi="Tahoma" /&gt;

&lt;w:spacing w:val="2" /&gt;

&lt;w:sz w:val="11" /&gt;

&lt;w:lang w:val="es-ES" /&gt;
 &lt;/w:rPr&gt;</value></bpt-props><ept name="cf" word-end="false">&lt;/cf&gt;</ept><fmt id="3" /></tag>

<tag id="ph161">

<ph name="  DATE @ ..." word-end="false" equiv-text="  DATE @ &quot;dddd, MMMM d&quot;  * MERGEFORMAT ">&lt;text text="  DATE @ &amp;quot;dddd, MMMM d&amp;quot;  * MERGEFORMAT "/&gt;</ph>

</tag>
← Prev in month ← Prev in thread
Next in thread → Next in month →