You can also add your own attributes to XML data node. API returns a translated XML without changing the <data>
node and only the <value>
node content will be changed (translated).
<xml version="1.0" encoding="utf-8"?> <root> <data name="unique_identifier" content_character_limit="10" custom_attribute="value"> <value>Welcome to the Straker Translations API</value> </data> <data name="a_different_identifier" content_character_limit="2" custom_attribute="value"> <value>Connecting to the Straker Translation system is easy</value> </data> <data name="must_be_unique" content_context_url="www.abc.com/page3" custom_attribute="value"> <value>Remember to do all testing in the sandbox first</value> </data> </root>
Comments
0 comments
Article is closed for comments.