Re: [xsl] Conditional extraction of data

Subject: Re: [xsl] Conditional extraction of data
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Tue, 09 Nov 2004 10:18:48 +0100
Bradley, Peter wrote:

Of course! To simply pass through all the content in the data file, all I need is:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
</xsl:stylesheet>

The recursive processing; the default templates; these will take care of the rest.

Depends on what you mean by content. The default templates preserve the character data of the data file. Note that this includes character data in attributes, though you are not using them currently. Comments, processing-instructions and 'tags' are suppressed by default.


The mulberry site also provides a very useful quick-ref. The default templates are given literally in there.

Cheers,
Geert

Current Thread