xsl-list
[Top] [All Lists]

Re: Conditional extraction of data

2004-11-09 02:18:48
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


<Prev in Thread] Current Thread [Next in Thread>