- So far most of our examples fall into one of these functions:
- Changing XML documents to another XML form, mostly XHTML
- Removing unwanted information
- Sorting and reorganising the information
- Other major uses include:
- Splitting into multiple documents (these slides, for example)
- Translating from XML to some other form (RTF, PDF)
- Converting between attributes and elements
-
Up Conversion: taking existing content and adding additional XML structure
- Legacy data to be brought into XML
- Temporarily adding structure to make a task easier
- Putting two different structures together
<h1 style="background-color:#FF0000;padding:1em 2pt 4px;"> Also style elements
<svg d="M20-7-4-3c12,10-6-7,7,5s14,8-3-5h5v7...."/> Could continue for Mbytes