Daniel Veillard | 7c1206f | 1999-10-14 09:10:25 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Daniel Veillard | 686d6b6 | 2000-01-03 11:08:02 +0000 | [diff] [blame] | 2 | <!DOCTYPE doc SYSTEM "doc.dtd"> |
| 3 | <?xml-stylesheet type="text/xml" |
| 4 | href="#style1"?> |
| 5 | <doc> |
| 6 | <head> |
| 7 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" id="style1" version="1.0"> |
| 8 | <xsl:import href="doc.xsl"/> |
| 9 | <xsl:template match="id('foo')"> |
| 10 | <fo:block font-weight="bold"> |
| 11 | <xsl:apply-templates/> |
| 12 | </fo:block> |
| 13 | </xsl:template> |
| 14 | <xsl:template match="xsl:stylesheet"> |
| 15 | <!-- ignore --> |
| 16 | </xsl:template> |
| 17 | </xsl:stylesheet> |
| 18 | </head> |
| 19 | <body> |
| 20 | <para id="foo"> |
| 21 | ... |
| 22 | </para> |
| 23 | </body> |
| 24 | </doc> |