Subject: Re: [xsl] XSL / XML initial tag incompatibility From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 23 Mar 2005 13:15:19 -0500 |
I'm fairly new to XSL and have a problem matching the initial tags in my XSL file with the corresponding tags in the matching XML file.
If I remove the initial XML tags, the XSL works, but not otherwise.
What am I missing in the XSL to make it work for the corresponding XML file below?
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:jeff="http://www.CpmXmlReport.co.il"> ... <xsl:template match="jeff:Unit">
<Report xmlns="http://www.CpmXmlReport.co.il"> ... <Unit ID="1" Type="LAN">
-- World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL / XML initial tag incompa, yechiel lewis | Thread | [xsl] Optimize results, Camaleón |
Re: [xsl] how to define a namespace, Siegfried Baiz | Date | RE: [xsl] how to define a namespace, Michael Kay |
Month |