Image of Linux Kernel Development (3rd Edition)
Image of Android Wireless Application Development
Image of Operating System Concepts
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)

XSL Recognizing Newlines

Suppose you want to convert the contents of an element into HTML making each line of text a separate paragraph. To do this you need to have a way of splitting the element text into a series of strings using newline (‘/n’) as the delimiter. This post demonstrates how to do this using both XSLT1 and XSLT2 processors.

Remove Namespaces from XML Documents

A frequent requirement when transforming XML documents is to remove some or all of a document namespaces. This post demonstrates how to remove all namespaces in a document or retain certain namespaces.

XSLT Namespace Handling

This post demonstrates three methods of handling multiple default namespaces when transforming XML documents using an XSL stylesheet.

Manipulating XML Attributes using XSLT

This post demonstrates ways of converting the attributes of elements of an XML document into either CSV or into their own elements.