Hi,
On Thu, 2006-03-23 at 17:23 +0100, Kasimier Buchcik wrote:
Hi,
On Thu, 2006-03-23 at 10:04 -0600, Eric White wrote:
Kasimier Buchcik wrote:
Use curly braces around the param's name:
No joy.... I'm still working through the template priority logic...
Michael's suggestion about template defaults sounds encouraging.
True, I'm sorry, what I proposed was totally incorrect :-(
I tried your stylesheet (just added an indent="yes") with the
following input, and observed the following:
type param.xml
<?xml version="1.0"?>
<physInterfaceTableRow><physInterfaceOsName>eth1</physInterfaceOsName><physInterfaceDuplex/></physInterfaceTableRow>
xsltproc param.xsl param.xml
<?xml version="1.0"?>
<physInterfaceTableRow>
<physInterfaceOsName>eth1</physInterfaceOsName>
<physInterfaceDuplex></physInterfaceDuplex>
</physInterfaceTableRow><physInterfaceOsName>eth1</physInterfaceOsName><physInterfaceDuplex>full</physInterfaceDuplex>
Note that this creates:
<physInterfaceDuplex>full</physInterfaceDuplex>
so it looks like the param was used in this case.
MSXML.NET produces the same result.
Regards,
Kasimier
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--