52 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "universalInfo":
 | 
						|
    [
 | 
						|
        {
 | 
						|
            "category":"What is XSLT",
 | 
						|
            "description":"XSLT (Extensible Stylesheet Language Transformations) is a language for converting and manipulating XML data into various formats. It uses rules defined in stylesheets to transform XML documents into HTML, XML, or other text-based outputs."
 | 
						|
        },
 | 
						|
        {
 | 
						|
            "category":"Differences between XSLT versions"
 | 
						|
        }
 | 
						|
    ],
 | 
						|
    "VersionDiffs":
 | 
						|
    [
 | 
						|
        {
 | 
						|
            "version":"2.0",
 | 
						|
            "diffs":
 | 
						|
            [
 | 
						|
                "Introduced a richer data model with support for various data types and sequences, allowing more flexible handling of data.",
 | 
						|
                "Added native support for regular expressions, making text processing and pattern matching more powerful.",
 | 
						|
                "Introduced the concept of higher-order functions, enabling functions to be used as arguments and returned as results, enhancing the language's functional capabilities.",
 | 
						|
                "Expanded the set of built-in string functions, making string manipulation and formatting more versatile.",
 | 
						|
                "Introduced the concept of sequences, where nodes could be processed without relying solely on their order in the source document.",
 | 
						|
                "Provided improved error handling and reporting mechanisms, making it easier to diagnose and fix issues in transformations.",
 | 
						|
                "Allowed variable and function parameters to have type annotations, enhancing clarity and enabling better optimization.",
 | 
						|
                "Refined the handling of namespaces and introduced features for dealing with namespaces more effectively.",
 | 
						|
                "Introduced more advanced grouping capabilities, allowing grouping based on multiple criteria.",
 | 
						|
                "Expanded sorting options, making it possible to sort data based on multiple keys and in different directions."
 | 
						|
            ]
 | 
						|
        },
 | 
						|
        {
 | 
						|
            "version":"3.0",
 | 
						|
            "diffs":
 | 
						|
            [
 | 
						|
                "Extended the support for higher-order functions by introducing new functions like map and filter, enabling more functional programming patterns.",
 | 
						|
                "Introduced streaming capabilities, allowing processing of large documents without loading the entire document into memory, which improves performance and memory usage.",
 | 
						|
                "Introduced functions to parse and serialize JSON data, enabling transformations between XML and JSON formats.",
 | 
						|
                "Enhanced type annotations, allowing for more precise typing of variables and parameters, aiding both readability and optimization.",
 | 
						|
                "Introduced new standard functions, expanding the range of operations and calculations that can be performed within transformations.",
 | 
						|
                "Introduced a new data structure called maps, allowing for efficient key-value pair storage and manipulation.",
 | 
						|
                "Introduced tunnel parameters, which can pass data through templates without explicitly listing them in the template's parameter list",
 | 
						|
                "Introduced a try-catch construct for better error handling, allowing you to catch and handle errors more gracefully.",
 | 
						|
                "Introduced the ability to execute multiple templates concurrently, improving performance in multi-core environments.",
 | 
						|
                "Integrated new features from XPath 3.1, including support for higher-order functions and enhanced string manipulation functions.",
 | 
						|
                "Enhanced grouping capabilities, making it more powerful and flexible for complex grouping scenarios.",
 | 
						|
                "Allowed dynamic function calls using the xsl:evaluate element, enabling more dynamic transformations."
 | 
						|
            ]
 | 
						|
        }
 | 
						|
 | 
						|
    ]
 | 
						|
 | 
						|
 | 
						|
} |