xsl-list
[Top] [All Lists]

Re: Transform XML to XML

2005-08-26 01:54:05

        I guess, like security best practices, my mindset is "don't
       allow it unless I explicitly ask for it."   
        But I guess it doesn't work that way so I shouldn't fight it.


I typically begin every stylesheet with a template that looks like

<xsl:template match="*">
<xsl:message>Unsupported element: <xsl:value-of select="name()"/></xsl:message>
</xsl:template>


and so have to keep adding templates until my stylesheet stops moaning
on all test cases.


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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