Ray's playground

 

Creating Output(Chapter 4 of XSLT 2nd Edition)

  In XSLT 2.0, <xsl:value-of> has a separator attribute. If the select attribute is a sequence of items, those items are output in sequence, with the value of the separator attribute between them.
  There are some changes to the <xsl:number> element in XSLT 2.0. First of all, three new formats have been added: w, W, and Ww. Those formats produce words in the default language on your machine (there’s also a lang attribute you can use to change the language). 
  The XSLT spec gives us two ways of dealing with whitespace nodes. We can use the <xsl:preserve-space> and <xsl:strip-space> nodes to keep or delete whitespace. 

posted on 2011-01-21 10:55  Ray Z  阅读(156)  评论(0编辑  收藏  举报

导航