Identify Language Output File

The following sample code is an example of the expected output for an Identify Language method. This XML-formatted message flows from a third-party adapter to a Siebel application (version 8.1 or later).

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2009, Oracle Corporation, Inc., All rights reserved. -->
<!-- -->
<!-- File : IdLanguageInput.xml -->
<!-- Revision : 1.0 -->
<!-- Date : 09 Apr 2009 -->
<!-- Creator : Tom Jones -->
<!-- -->
<!-- Description: Sample input for NLP engine adapter based on SAIO -->
<!-- format -->
<!-- -->
<!-- Change Log: -->
<!-- author Date Comment -->
<!-- ========== =========== =========================================== -->
<!-- -->

<!DOCTYPE saio [
<!ELEMENT method (input*, output*)>
<!-- name : Name of the property -->
<!ATTLIST method
	name CDATA #REQUIRED
	action CDATA #REQUIRED>
<!ELEMENT input (category*, property*)>
<!ELEMENT output (category*, property*)>
<!ATTLIST input
	category-count CDATA #REQUIRED
	property-count CDATA #REQUIRED >
<!ATTLIST output
	category-count CDATA #REQUIRED
	property-count CDATA #REQUIRED>
<!-- name : Name of the category -->

<!-- kscore : Knowledge Score of the category -->
<!ATTLIST category
	name CDATA #REQUIRED
	kscore CDATA #REQUIRED >
<!-- name : Name of the property -->

<!-- value : Value of the property -->
<!ATTLIST property
	name CDATA #REQUIRED
	value CDATA #REQUIRED >
]>
<method name="IdentifyLanguage">
	<output category-count="0" property-count="6">
		<property name="Channel" value="eMail"/>
		<property name="Text" value="testing arun"/>
		<property name="Language Name" value="English US"/>
		<property name="Language Code" value="ENU"/>
		<property name="Msg Character Set" value="utf16"/>
		<property name="Status" value="Success"/>
	</output>
</method>