/[volute]/trunk/projects/theory/snapdm/res/jaxb.xsl
ViewVC logotype

Diff of /trunk/projects/theory/snapdm/res/jaxb.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 676 by bourges.laurent, Mon May 26 16:41:58 2008 UTC revision 677 by bourges.laurent, Wed Jul 9 21:49:27 2008 UTC
# Line 39  Line 39 
39      </xsl:variable>      </xsl:variable>
40    @XmlAccessorType( XmlAccessType.NONE )      @XmlAccessorType( XmlAccessType.NONE )  
41    @XmlType( name = "<xsl:value-of select="name"/>", namespace = "<xsl:value-of select="$namespace"/>")    @XmlType( name = "<xsl:value-of select="name"/>", namespace = "<xsl:value-of select="$namespace"/>")
42      <xsl:if test="number($isContained) = 0 and not(@abstract = 'true')">      <xsl:choose>
43    @XmlRootElement( name = "a<xsl:value-of select="name"/>", namespace = "<xsl:value-of select="concat($targetnamespace_root,'/',/model/name)"/>")        <xsl:when test="number($isContained) = 0 and not(@abstract = 'true')">
44      </xsl:if>      @XmlRootElement( name = "a<xsl:value-of select="name"/>", namespace = "<xsl:value-of select="concat($targetnamespace_root,'/',/model/name)"/>")
45          </xsl:when>
46          <xsl:otherwise>
47    <!-- always produce a JAXB annotation to be able to marshall fragments -->        
48        @XmlRootElement( name = "<xsl:value-of select="name"/>", namespace = "<xsl:value-of select="concat($targetnamespace_root,'/',/model/name)"/>")
49          </xsl:otherwise>
50        </xsl:choose>
51    </xsl:template>    </xsl:template>
52    
53    

Legend:
Removed from v.676  
changed lines
  Added in v.677

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26