Dear all:

    I found betwixt very interesting study for a day yesterday, but I 
encountered a problem can not be solved, I hope you can give me 
suggestions,Questions are as follows;

JavaBean

public class Test {
 private String carNo;

 public Test(String carNo) {
  super();
  this.carNo = carNo;
 }

 public String getCarNo() {
  return carNo;
 }

 public void setCarNo(String carNo) {
  this.carNo = carNo;
 }

 public Test() {
  super();
 }
}

Test.betwixt template

<info primitiveTypes="element">
 <element name='Test'>
  <element property='carNo'></element>
  </element>
</info>

If carNo is null, I want to generate the xml-stylesheet is
<carNo xsi:nil="true"></carNo>

Instead of
<carNo></carNo>

How to achieve the effect I want, please advice

梁昌宏 
深圳机场物流园发展有限公司 信息部 
手机:13430573145
地址:深圳宝安机场保税大厦413室 邮编:518128 

Reply via email to