|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: Restrict Mixed Content
I think the phrase "mixed content" in your subject is confusing me. At any rate... > From: Edgar Steven [mailto:edgar_steven@xxxxxxx] > > The source is coming from MS Word documents. I only want to be > able to use > data such as bullets, lists, and tables. All other elements I > would like to > ignore like graphs, images, etc. Something like this... <!-- ignore everything --> <xsl:template match="*" /> <!-- ...except for elements X, Y and Z --> <xsl:template match="X|Y|Z"> <xsl:copy> <xsl:apply-templates mode="copy" select="*|*@" /> <xsl:copy> </xsl:template> <xsl:template match="*|*@|text()" mode="copy" /> <xsl:copy/> <xsl:template> cheers, mark
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








