On 20030304155902, Tom Howe wrote:
> 
> In XLST, if I do 
> 
> <xsl:apply-templates>
> 
> On a piece of xml that has a tag that is not defined by a <xsl:template> 
> it is completely ignored.

Not exactly...
The XSLT spec defines the following as default templates:

 <template match="*|/"><apply-templates/></template>

 <template match="text()|@*"><value-of select="."/></template>

 <template match="processing-instruction()|comment()"/>

What this means is: strip all tags, PI and comments, keep only text
nodes and attribute values.

-- 

        Dakkar - <Mobilis in mobile>

The UNIX philosophy basically involves giving you enough rope to
hang yourself.  And then a couple of feet more, just to be sure.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to