Skip to content

Instantly share code, notes, and snippets.

@kaero
Created May 26, 2011 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaero/992845 to your computer and use it in GitHub Desktop.
Save kaero/992845 to your computer and use it in GitHub Desktop.
xslt20-with-resources.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:res="http://example.com/app/resources"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/XSL/Transform"
targetNamespace="http://www.w3.org/1999/XSL/Transform">
<xs:import namespace="http://example.com/app/resources" schemaLocation="resources.xsd"/>
<xs:redefine schemaLocation="http://www.w3.org/2007/schema-for-xslt20.xsd">
<!--
There is I want to extend the <xsl:template/> with <res:related-resources/> as a child with bounds 0..1
-->
</xs:redefine>
</xs:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment