1. A computer program product for processing schemas and data in a storage system, wherein the computer program product comprises a computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising: providing a schema, wherein the schema provides a definition of elements, wherein at least one of the elements comprises a recursive element of a recursive data type, wherein the recursive data type allows for instances of the recursive element to include instances of that same recursive data type at different levels in a hierarchy; receiving a condition for terminating recursion for the recursive element; and generating a view for the schema including information on the condition for terminating the recursion, wherein processing of the view causes a parser to generate a structured element for a processed instance of a recursive element in view output if the recursive element does not satisfy the condition for terminating the condition and to chunk data for the processed instance of the recursive element to generate in the view output in response to the condition indicating to terminate recursion at the level of the instance of the recursive element being processed.