xsl-list
[Top] [All Lists]

RE: Transform XML to XML

2005-08-26 06:43:27
Thanks. 

I'm still confused by ".", "*", "node()", etc.  I've read all the
definitions, but somehow I can't grok them.  Any thoughts?

-Mike

-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk] 
Sent: Friday, August 26, 2005 4:54 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Transform XML to XML


        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>
--~--


--~------------------------------------------------------------------
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>