Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does this mean "xmlns:xliff"? XML

What does this mean?

<?xml version="1.0" encoding="utf-8"?> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> 

It can be seen in Strings.xml as part of the resources folder values in Android projects.

like image 824
Navigatron Avatar asked May 27 '11 22:05

Navigatron


2 Answers

This is xml namespace used for xliff. Xliff is used for localization purposes. You can read more about xliff here.

like image 139
inazaruk Avatar answered Sep 21 '22 15:09

inazaruk


XLIFF is the OASIS XML Localisation Interchange File Format.

xmlns:xliff is an XML attribute name. The :xliff indicates we are using the xliff namespace.

urn:oasis:names:tc:xliff:document:1.2 identifies the schema location; the choice of format is at the discretion of Oasis, I'd assume it has meaning.

like image 32
Jon Cram Avatar answered Sep 23 '22 15:09

Jon Cram