
R-Studio Manual53
© 2002...2013 R-Tools Technology Inc.
<Signature [attributes]> ... </Signature>
...
<Signature [attributes]> ... </Signature>
<AND>
...
</AND>
<OR>
...
</OR>
</Begin>
<End>
<OR>
...
</OR>
<Signature [attributes]> ... </Signature>
...
<Signature [attributes]> ... </Signature>
</End>
</FileType>
</FileTypeList>
Sections AND and OR
These sections can contain one of several elements Signature. And one or several elements OR or AND. If there
are several elements inside the section they are combined according to the section type (logical AND or OR).
Example:
<FileTypeList version=”2.0”>
<FileType id="2" group="archive" description="ARJ Archive" extension="arj">
<Begin>
<Signature [attributes]> ... </Signature>
...
<Signature [attributes]> ... </Signature>
<AND>
<Signature [attributes]> ... </Signature>
<OR>
<Signature [attributes]> ... </Signature>
<AND>
<Signature [attributes]> ... </Signature>
<Signature [attributes]> ... </Signature>
</AND>
<OR>
<Signature [attributes]> ... </Signature>
<Signature [attributes]> ... </Signature>
</OR>
</OR>
<Signature [attributes]> ... </Signature>
</AND>
</Begin>
</FileType>
</FileTypeList>
Element Signature
The element contains a string value of the file signature consisting of ASCII characters and hex bytes in the \xhh
format, where hh is a hexadecimal byte code. If that is not a hexadecimal number after \x, \x are treated as a
Comentarios a estos manuales