{ "cells": [ { "cell_type": "markdown", "id": "863ea5b6-8483-4b9b-920d-910269110afe", "metadata": {}, "source": [ "# Applying style sheets to the input XML data (Nestle1904LFT)" ] }, { "cell_type": "markdown", "id": "0bf16065-8841-46b3-baba-0a8a9715c3cb", "metadata": {}, "source": [ "## Table of content \n", "* 1 - The standard included CSS\n", "* 2 - Adding 'rules' CSS\n" ] }, { "cell_type": "markdown", "id": "09db7be2-3fff-42d6-bdce-548343582b2a", "metadata": {}, "source": [ "# 1 - The standard included CSS \n", "##### [Back to TOC](#TOC)\n", "\n", "The source XML files contain links to two style sheet files:\n", "\n", "```\n", "\n", "\n", "\n", "```\n" ] }, { "cell_type": "markdown", "id": "20442ce4-0388-4a94-b9db-c59ccc6e2128", "metadata": {}, "source": [ "When opening the XML file in a browser, results like the following are shown:\n", "\n", "" ] }, { "cell_type": "markdown", "id": "30244a39-4130-423f-a403-f44fe4a85aa9", "metadata": {}, "source": [ "# 2 - Adding 'rules' CSS \n", "##### [Back to TOC](#TOC)\n", "\n", "It is also possible to include additional style sheets. For example adding 'rules.css':\n", " \n", "```\n", "\n", "\n", "\n", "\n", "```\n", "\n", "When opening the XML file in a browser, results like the following are shown:\n", "\n", "\n", "\n", "Note: other CSS files are also available allowing additional formating." ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.12" } }, "nbformat": 4, "nbformat_minor": 5 }