Introduction to XML
To Integrate your Application with Tally Accounting Software, you need to have a
basic understanding of XML. RTSlink DLL uses XML tags to exchange data with the
Tally Software.
Here's a brief introduction to XML.
One minute Guide to XML
- XML stands for EXtensible Markup
Language.
- XML is a markup language like HTML, but is designed to describe data and focus on
what data is.
- XML tags are not pre-defined, you must define your own tags.
- XML is used to Exchange data
- XML Tags are case-sensitive
- Comments in XML are similar to that of HTML. Example
<!—This is a comment -->
- XML has a shorthand for empty elements: A sole tag ending with /> signals that
the element has no contents.
|
Introduction to SOAP
One minute Guide to SOAP
- SOAP stands for Simple Object
Access Protocol.
- SOAP is a protocol for exchanging XML-based messages over computer network using
HTTP.
- HTTP + XML = SOAP
- SOAP is platform & language independent.
- SOAP message is an ordinary XML document which has an "Envelope" element as its
root element in addition to an optional "Header" element, the "Body" element.
|
For more information on XML or SOAP, visit www.w3schools.com
XML (Extensible
Markup Language)
With XML, data can be exchanged between incompatible systems.
In the real world, computer systems and databases contain data in incompatible formats.
One of the most time-consuming challenges for developers has been to exchange data
between such systems. XML is a standard tool for data exchange between different
types of applications.
For more information on XML, visit www.w3schools.com
XML support in Tally
Tally 6.3 and higher versions, support XML for data exchange. However, we suggest
you to work with Tally 7.2 (or higher) as it supports VAT.
One of the most powerful features of Tally is its support for XML tags for data
exchange. A software developer can integrate any existing application to read/write
from and to Tally using XML Tags. This would certainly benefit the customer who
is saved of doing same entries in Tally for Accounts finalization purpose. The software
developer can also benefit by focusing on areas which are not addressed by Tally
software.
As stated earlier, XML tags are not pre-defined as HTML tags. The Tally software
has its only XML tags. These tags are specific to Tally only.
An escape sequence causes an escape from the normal interpretation. A C/C++
programmer might have used the following escape sequences frequently viz.
'\n’ - New Line
'\r’ - Carriage return
'\t’ - Tab |
In XML, several characters are part of the syntactic structure of XML and will not
be interpreted as themselves if simply placed within an XML data source. You need
to substitute a special character sequence (called an "entity" by XML).
These special characters are:
|
Special Character |
Escape Sequence |
Purpose |
|
& |
& |
Ampersand sign
|
|
' |
' |
Single quote
|
|
" |
" |
Double quote |
|
> |
> |
Greater than
|
|
< |
< |
Less than
|
|
For example, "Branches & Divisions" would be encoded as "Branches
& Divisions"
Next:
XML Tags for Advanced settings in Tally
|