Patent ID: 8898559

Claim:
A method for encoding an XML-based document having contents including a mixed element that is an instance of a complex data type with a mixed content model, the mixed element including one or more XML elements and separate textual content, according to an XML schema language definition, said method comprising the steps of: generating a coded binary representation of the document by assigning binary structure position codes to the structured elements of the document defined by the XML schema language definition via code tables, wherein the mixed element of the XML-based document comprises a parent node having a binary structure position code and in a first hierarchical plane below said parent node a plurality of element nodes having binary structure position codes, and wherein the assignment of the binary structure positions codes includes treating the textual content of the mixed element of the XML-based document as a structured element in a node in the first hierarchical plane by encoding the textual content with a binary structure position code defined by an OperandTBC coding table, such that the encoded textual content is accessible from the encoded XML-based document by locating the binary structure position code corresponding with the textual content.