Subject: [xsl] How do templates get invoked for elements decorated with namespaces? From: "Mark Wilson" <mark@xxxxxxxxxxxx> Date: Tue, 5 Dec 2006 08:44:41 -0500 |
Hi, I have no idea how to even look this problem up in the archives. If the answer is there, I apologize. I find that a template such as <xsl:template match="/Workbook"> <xsl:apply-templates select="DocumentProperties" /> </xsl:template> is invoked when the element name is undecorated with a namespace attribute: <Workbook> . </Workbook> but is not invoked when the namespace is present: <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40"> ... </Workbook> How does the template have to be changed to be invoked for the second case? Thanks, Mark
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re:dynamic sort using att, David Carlisle | Thread | Re: [xsl] How do templates get invo, David Carlisle |
[xsl] Re:dynamic sort using attribu, L P | Date | Re: [xsl] Re:dynamic sort using att, David Carlisle |
Month |