xsl-list
[Top] [All Lists]

RE: namespaces problem - two transformations in one stylesheet possible?

2006-02-07 08:08:30
correction to second set of xsl (without problem namespace) (sent the xml twice 
by mistake, sorry):

<xsl:stylesheet version="1.0" 
xmlns:userDefined="http://mycompany.com/mynamespace"; 
xmlns:msxsl="urn:schemas-microsoft-com:xslt" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
exclude-result-prefixes="msxsl" extension-element-prefixes="userDefined">
        <xsl:output method="xml" indent="yes" omit-xml-declaration="no"/>       
        <xsl:template match="/">
                <xsl:apply-templates select="message"/>
        </xsl:template>
        <xsl:template match="message">
                <xsl:apply-templates select="m_content"/>
        </xsl:template>
        <xsl:template match="m_content">
                <quotation dtd-version="1.0">
                        <versn>2.0</versn>
                        <xsl:apply-templates select="m_control"/>
                        <!-- assorted other templates -->
                </quotation>
        </xsl:template>
        <!--  Quotes/control -->
        <xsl:template match="m_control">
                <!-- etc lots more xsl here -->
        </xsl:template>
</xsl:stylesheet>

This e-mail is private and confidential and is protected by copyright. It may 
also be privileged or otherwise protected by other legal rules.  Access by or 
disclosure to anyone other than the intended recipient for any reason other 
than the business purpose for which the message is intended, is unauthorised. 
If you receive it in error, notify us, delete it and do not make use of or copy 
it.

Internet communications are not secure and therefore Assureweb Limited do not 
accept legal responsibility for the contents of this message. Any views or 
opinions presented are solely those of the author and do not necessarily 
represent those of Assureweb Limited unless otherwise specifically stated.

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