|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Different behavior between Xalan & MSXSL.exe
I have the following XML sample. <test> <test1 attr1="kkk"/> <test2 attr2=""/> </test> When I tried to copy the content of node test through <xsl:copy-of select="test"/>, I got different results from Xalan and MSXSL.exe. >From Xalan, I got <test1 attr1="kkk"/> <test2> But from msxsl.exe I have <test1 attr1="kkk"/> <test2 attr2=""/> Obviously, Xalan ignored the attributes have null value. Did anybody know how to disable this feature in Xalan? I suppose msxsl.exe does the right thing. <test2> and <test2 attr2=""/> have different semantic meanings. thanks, Fengrui XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








