[jcifs] XSLT

Michael B Allen mba2000 at ioplex.com
Mon May 24 01:34:18 GMT 2004


Yes. That appears to be precisely what I'm looking for. At least it works
as I expect.

<!-- The Identity Transformation -->
<xsl:template match="/|@*|node()">
   <xsl:copy>
     <xsl:apply-templates select="@*|node()"/>
   </xsl:copy>
</xsl:template>

Thanks,
Mike

Eric said:
> I *think* you're asking for an identity transform, with some small
> overrides to cover certain tags; is this correct?  See:
>
> http://www.dpawson.co.uk/xsl/sect2/identity.html#d5059e43
>
>
> Eric
>
>
> Michael B Allen wrote:
>> Any XSLT gurus out there?
>>
>> I'm converting all jCIFS docs to use a very plain XSLT template so we
>> can
>> style things nicer down the road. I want to isolate certain elements
>> that
>> are possibly also HTML elements (e.g. TITLE) but allow all other
>> elements
>> to just pass-through without being interpreted. How do I do that?
>>
>> The only way I've found to do this just have a template that matches any
>> HTML element but is there a better more proper way?


More information about the jcifs mailing list