Subject: Re: [xsl] selecting w:p nodes based on w:pStyle attributes From: Terry Ofner <tofner@xxxxxxxxxxx> Date: Tue, 28 Mar 2006 11:09:50 -0500 |
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:o="urn:schemas-microsoft.com:office:office"> xmlns:aml="http://schemas.microsoft.com/aml2001/core">
<xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template>
<xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'TAUnderscore']"/> <xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'Text']"/> <xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'TeachersAnnos']"/> <xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'Textwindent']"/> <xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'ExampleTableHead']"/> <xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'ExampleText']"/> <xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'NLUnderscore']"/>
<xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'A-Head']"> <xsl:copy-of select="."/> </xsl:template>
<xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'NL']"> <xsl:copy-of select="."/> </xsl:template>
<xsl:template match="w:p[w:pPr/w:pStyle/@w:val = 'Directions']"> <xsl:copy-of select="."/> </xsl:template> </xsl:stylesheet>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] selecting w:p nodes based, G. Ken Holman | Thread | Re: [xsl] selecting w:p nodes based, David Carlisle |
Re: [xsl] combining node restrictio, Robert Koberg | Date | Re: [xsl] Displaying one section of, Gowri Ratakonda |
Month |