Dear Mr Shafie

I am trying to get rid of the <div class=“role-section1“> elements that w2x is 
creating. I did not find a paramater in the manual, so I tried with xslt (not 
my strength). The <div class=“role-section1“> elements are not removed by the 
following xslt. Do you have any idea what I am doing wrong?

Thank you for your help!
Thomas Dumm


<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
    <xsl:output indent="yes"/>
    <xsl:strip-space elements="*"/>

    
    <xsl:template match="@*|node()">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
    </xsl:template>
    
    <xsl:template match="//div[@class='role-section1']">
        <xsl:apply-templates select="@*|node()"/>
    </xsl:template>


</xsl:stylesheet>





--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/w2x-support

Reply via email to