|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How do templates get invoked for elements decorated wi
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
|
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
|






