www.opengis.net.wfs.xsl 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. exclude-result-prefixes="xs"
  5. xmlns="http://www.opengis.net/wfs"
  6. version="2.0">
  7. <xsl:template match="*" >
  8. <xsl:message terminate="no">
  9. ####################################
  10. #
  11. #
  12. # NOT SUPPORTED FILES IN NAMESPACE <xsl:text>&lt;</xsl:text><xsl:value-of select="name()"/> xmlns="http://www.opengis.net/wfs" <xsl:text>&gt;</xsl:text>
  13. #
  14. #
  15. # disable RelatedFeatureRoot xmlns="http://www.opengis.net/wfs" in input XML FILE
  16. #
  17. #
  18. #
  19. ####################################
  20. </xsl:message>
  21. </xsl:template>
  22. <xsl:template mode="preprocess" match="*" >
  23. <xsl:message terminate="yes">
  24. ####################################
  25. #
  26. #
  27. # NOT SUPPORTED FILES IN NAMESPACE <xsl:text>&lt;</xsl:text><xsl:value-of select="name()"/> xmlns="http://www.opengis.net/wfs" <xsl:text>&gt;</xsl:text>
  28. #
  29. #
  30. # disable RelatedFeatureRoot xmlns="http://www.opengis.net/wfs" in input XML FILE
  31. #
  32. #
  33. #
  34. ####################################
  35. </xsl:message>
  36. <!--<xsl:apply-templates mode="#current" select="." xpath-default-namespace=""/>-->
  37. </xsl:template>
  38. </xsl:stylesheet>