Subject: Re: [xsl] Processing Stylesheet with multiple namespaces From: Michael Daniloff <mdanilof@xxxxxxxxx> Date: Wed, 26 Sep 2007 20:11:43 -0700 (PDT) |
Hey Joe. I copied and pasted this stylesheet and ran it through the Saxon and it worked. My apologies, sorry for wasting your time. Thanks for all your help. Michael ----------- original message ------------------ Date: Tue, 25 Sep 2007 14:45:54 +0100 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx> Subject: Re: [xsl] Processing Stylesheet with multiple namespaces Message-ID: <BAY123-F30DC3E4E0D3A8376731E6ED9B70@xxxxxxx> This was my suggested XSLT: <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ve="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft -com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" exclude-result-prefixes="ve o r m v wp w10 w wne"> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> <xsl:template match="w:object"> <w:pict> <xsl:apply-templates select="@*|node()"/> <!-- or <xsl:apply-templates /> if you don't want attributes --> </w:pict> </xsl:template> <xsl:template match="w:OLEObject"/> <xsl:template match="@o:ole"/> </xsl:stylesheet> It's odd that when I run it using .net XslCompiledTransform the o:ole is removed from the v:shape yet when you run it it isn't. Joe http://joe.fawcett.name ____________________________________________________________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Processing Stylesheet wit, Joe Fawcett | Thread | Re: [xsl] Processing Stylesheet wit, Joe Fawcett |
Re: [xsl] Future of XSL Stylesheet , David Carlisle | Date | [xsl] Recognizing non-XML Markup St, J. S. Rawat |
Month |