Advertisement
Guest User

Untitled

a guest
Jun 4th, 2009
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.93 KB | None | 0 0
  1.   <xsl:template match="GM03Comprehensive.Comprehensive.MD_FeatureCatalogueDescription">
  2.     <che:CHE_MD_FeatureCatalogueDescription>
  3.       <xsl:apply-templates/>
  4.       <xsl:apply-templates mode="Content" select="modelType"/>
  5.     </che:CHE_MD_FeatureCatalogueDescription>
  6.   </xsl:template>
  7.  
  8.   <xsl:template match="complianceCode|includedWithDataset">
  9.     <xsl:element name="{local-name()}">
  10.       <gco:Boolean>
  11.     <xsl:value-of select="."/>
  12.       </gco:Boolean>
  13.     </xsl:element>
  14.   </xsl:template>
  15.  
  16.   <xsl:template match="dataModel[GM03Core.Core.PT_FreeURL]">
  17.     <che:dataModel xsi:type="che:PT_FreeURL_PropertyType">
  18.       <xsl:apply-templates mode="language" select="GM03Core.Core.PT_FreeURL"/>
  19.     </che:dataModel>
  20.     <xsl:apply-templates mode="Content" select="modelType"/>
  21.   </xsl:template>
  22.  
  23.   <xsl:template match="dataModel[not(GM03Core.Core.PT_FreeURL)]">
  24.     <URL><xsl:value-of select="."/></URL>
  25.   </xsl:template>
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement