Working with Stylesheet Splicer
Stylesheet Splicer is a product from IBMs Alphaworks which serves as a stylesheet processor. It is a customizable stylesheet processor with customization possible for the style sheets. It can manage multiple versions of stylesheets from a common base XSLT document. Stylesheet splicer is a software that transforms the XML document from one format to another format. The inputs for this transformation is an XML file and and XSL file.
Windows NT 4.0 or Windows 2000 operating system is required for the installation of the Stylesheet Splicer. A minimum of 15 MB space is required for the software. The software package for installation contains two self-extracting zip files namely,
Follow the steps given below to install the software:
installing this software you need to create an installation directory
for the software to install. You can create a directory for the installation
and then add the directory to the PATH environment variable.
This software does not create stylesheet but it assembles the different parts of the stylesheet given as input as and when necessary to give a desired output. Consider a scenario, where you are transforming an XML document using a XSL file. This XML document may have different stylesheets available and any one of the stylesheet would be used depending on the requirement.
There is every chance that parts of an XSL file to get repeated in another XSL file under this scenario. This is where software like Stylesheet splicer comes in. Stylesheet splicer stores unique parts of the stylesheets as different smaller XSL files so that these smaller XSL files are assembled during runtime to give you the version of the document that is required by the user. This ensures that you dont have any duplication of code in the XSL stylesheet. This also ensures that change management is handled very easily when compared to the situation where you have large XSL files for transformation of the XML documents.
During transformation the user is prompted to select the smaller XSL files that are required for the transformation and after selection the transformation occurs. This gives you the desired output, since the stylesheet files are selected during runtime. The user is prompted to select the stylesheet files through popup windows. These popup windows also allows the user to select the XSLT parameter values during runtime. The user is also prompted to select the path to the DTD file so that it enables to change the DTD file also for validating the XML document.
The Stylesheet splicer software requires the DLLs of XML4C 5.4 and XSLT4C 1.7, which are included in the Stylesheet Splicer package. The stylesheet splicer software thus helps in maintaining a library of stylesheets to increase the efficiency of transformation. Maintaining different stylesheets for a major constraint associated with the XSLT language. This is overcome by this software.
To work with this software you need an XML document and a XSL stylesheet at the minimum. The users need not know XML or XSLT for using this software. The software has multi-document interface (MDI) windows that are used by the user to transform an XML file. The following steps are performed to get your required transformation of the XML document.
1. Open the
XML source document in the MDI window of the software.
Thus Stylesheet splicer is a software for dynamically selecting the XSL segments for transformation of an XML document. This helps is producing multiple versions of XSL stylesheets for the same XML document without duplication of XSL code.
Copyright - © 2004 - 2018 - All Rights Reserved.