[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsL:with-param, xsl:-param emptiness, Xalan and x
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
|
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
|