-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03afcf8
commit 74f4f54
Showing
88 changed files
with
43,834 additions
and
43,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<datadom> | ||
<payload xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml"> | ||
<a xmlns="http://www.w3.org/1999/xhtml" href="#" data-dce-id="4" slot="">link 1</a> | ||
<a xmlns="http://www.w3.org/1999/xhtml" href="#" data-dce-id="5" slot="">link 2</a> | ||
<a xmlns="http://www.w3.org/1999/xhtml" href="#" data-dce-id="6" slot="">link 3</a> | ||
</payload> | ||
<attributes> | ||
<xmlns/> | ||
<justify>end</justify> | ||
<data-dce-id>2</data-dce-id> | ||
<direction>row</direction> | ||
</attributes> | ||
<dataset> | ||
<dceId>2</dceId> | ||
</dataset> | ||
<slice/> | ||
</datadom> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dce="urn:schemas-epa-wg:dce" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> | ||
<xsl:template match="ignore"> | ||
<xsl:choose> | ||
<xsl:when test="//attr"><xsl:value-of select="//attr"/></xsl:when> | ||
<xsl:otherwise><xsl:value-of select="def"/></xsl:otherwise> | ||
</xsl:choose><xsl:value-of select="."/></xsl:template> | ||
<xsl:template mode="payload" match="attributes"><xsl:param name="direction"><xsl:choose> | ||
<xsl:when test="//direction"><xsl:value-of select="//direction"/></xsl:when> | ||
<xsl:otherwise><xsl:value-of select="'row'"/></xsl:otherwise> | ||
</xsl:choose></xsl:param><dce-root xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml" data-dce-id="1"><xsl:attribute name="direction"><xsl:choose> | ||
<xsl:when test="//direction"><xsl:value-of select="//direction"/></xsl:when> | ||
<xsl:otherwise><xsl:value-of select="'row'"/></xsl:otherwise> | ||
</xsl:choose></xsl:attribute><xsl:call-template name="slot"> | ||
<xsl:with-param name="slotname" select="''"/> | ||
<xsl:with-param name="defaultvalue"/> | ||
</xsl:call-template></dce-root></xsl:template> | ||
<xsl:template match="/"> | ||
<xsl:apply-templates mode="payload" select="/datadom/attributes"/> | ||
</xsl:template> | ||
<xsl:template name="slot"> | ||
<xsl:param name="slotname"/> | ||
<xsl:param name="defaultvalue"/> | ||
<xsl:choose> | ||
<xsl:when test="//payload/*[@slot=$slotname]"> | ||
<xsl:copy-of select="//payload/*[@slot=$slotname]"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:copy-of select="$defaultvalue"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:template> | ||
<xsl:variable name="js-injected-body"> | ||
<xsl:call-template name="slot"> | ||
<xsl:with-param name="slotname" select="''"/> | ||
<xsl:with-param name="defaultvalue"/> | ||
</xsl:call-template> | ||
</xsl:variable> | ||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<dce-root data-dce-id="1" label="Number" name="" placeholder="Enter the numeric value" type="text" value="" | ||
xmlns="http://www.w3.org/1999/xhtml" xmlns:dce="urn:schemas-epa-wg:dce" | ||
xmlns:xhtml="http://www.w3.org/1999/xhtml"><pre data-dce-id="2" xmlns=""> //focused | ||
//suggest | ||
//selected | ||
$selected-value </pre> | ||
<label data-dce-id="3"> | ||
<dce-text data-dce-id="4">Number</dce-text> | ||
<input data-dce-id="5" name="" placeholder="Enter the numeric value" type="text" value=""> | ||
<slice data-dce-id="6" name="focused" slice-event="focus" slice-value="1"/> | ||
<slice data-dce-id="7" name="selected" slice-event="input"/> | ||
</input></label> | ||
<fieldset data-dce-id="8" form="cem-autocomplete-form" xmlns=""><label data-dce-id="9" value="one"><input | ||
data-dce-id="10" name="cem-autocomplete" slice="suggest" slice-event="input" type="radio" value="one"/> | ||
<dce-text data-dce-id="11">One</dce-text> | ||
</label><label data-dce-id="9" value="two"><input data-dce-id="10" name="cem-autocomplete" slice="suggest" slice-event="input" | ||
type="radio" value="two"/> | ||
<dce-text data-dce-id="11">Two</dce-text> | ||
</label><label data-dce-id="9" value="three"><input data-dce-id="10" name="cem-autocomplete" slice="suggest" | ||
slice-event="input" type="radio" value="three"/> | ||
<dce-text data-dce-id="11">Three</dce-text> | ||
</label></fieldset> | ||
</dce-root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<datadom> | ||
<payload xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml"> | ||
<a xmlns="http://www.w3.org/1999/xhtml" href="#" data-dce-id="4" slot="">link 1</a> | ||
<a xmlns="http://www.w3.org/1999/xhtml" href="#" data-dce-id="5" slot="">link 2</a> | ||
<a xmlns="http://www.w3.org/1999/xhtml" href="#" data-dce-id="6" slot="">link 3</a> | ||
</payload> | ||
<attributes> | ||
<xmlns/> | ||
<justify>end</justify> | ||
<data-dce-id>2</data-dce-id> | ||
<direction>row</direction> | ||
</attributes> | ||
<dataset> | ||
<dceId>2</dceId> | ||
</dataset> | ||
<slice/> | ||
</datadom> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dce="urn:schemas-epa-wg:dce" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> | ||
<xsl:template match="ignore"> | ||
<xsl:choose> | ||
<xsl:when test="//attr"><xsl:value-of select="//attr"/></xsl:when> | ||
<xsl:otherwise><xsl:value-of select="def"/></xsl:otherwise> | ||
</xsl:choose><xsl:value-of select="."/></xsl:template> | ||
<xsl:template mode="payload" match="attributes"><xsl:param name="direction"><xsl:choose> | ||
<xsl:when test="//direction"><xsl:value-of select="//direction"/></xsl:when> | ||
<xsl:otherwise><xsl:value-of select="'row'"/></xsl:otherwise> | ||
</xsl:choose></xsl:param><dce-root xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml" data-dce-id="1"><xsl:attribute name="direction"><xsl:choose> | ||
<xsl:when test="//direction"><xsl:value-of select="//direction"/></xsl:when> | ||
<xsl:otherwise><xsl:value-of select="'row'"/></xsl:otherwise> | ||
</xsl:choose></xsl:attribute><xsl:call-template name="slot"> | ||
<xsl:with-param name="slotname" select="''"/> | ||
<xsl:with-param name="defaultvalue"/> | ||
</xsl:call-template></dce-root></xsl:template> | ||
<xsl:template match="/"> | ||
<xsl:apply-templates mode="payload" select="/datadom/attributes"/> | ||
</xsl:template> | ||
<xsl:template name="slot"> | ||
<xsl:param name="slotname"/> | ||
<xsl:param name="defaultvalue"/> | ||
<xsl:choose> | ||
<xsl:when test="//payload/*[@slot=$slotname]"> | ||
<xsl:copy-of select="//payload/*[@slot=$slotname]"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:copy-of select="$defaultvalue"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:template> | ||
<xsl:variable name="js-injected-body"> | ||
<xsl:call-template name="slot"> | ||
<xsl:with-param name="slotname" select="''"/> | ||
<xsl:with-param name="defaultvalue"/> | ||
</xsl:call-template> | ||
</xsl:variable> | ||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<dce-root data-dce-id="1" label="Number" name="" placeholder="Enter the numeric value" type="text" value="" | ||
xmlns="http://www.w3.org/1999/xhtml" xmlns:dce="urn:schemas-epa-wg:dce" | ||
xmlns:xhtml="http://www.w3.org/1999/xhtml"><pre data-dce-id="2" xmlns=""> //focused | ||
//suggest | ||
//selected | ||
$selected-value </pre> | ||
<label data-dce-id="3"> | ||
<dce-text data-dce-id="4">Number</dce-text> | ||
<input data-dce-id="5" name="" placeholder="Enter the numeric value" type="text" value=""> | ||
<slice data-dce-id="6" name="focused" slice-event="focus" slice-value="1"/> | ||
<slice data-dce-id="7" name="selected" slice-event="input"/> | ||
</input></label> | ||
<fieldset data-dce-id="8" form="cem-autocomplete-form" xmlns=""><label data-dce-id="9" value="one"><input | ||
data-dce-id="10" name="cem-autocomplete" slice="suggest" slice-event="input" type="radio" value="one"/> | ||
<dce-text data-dce-id="11">One</dce-text> | ||
</label><label data-dce-id="9" value="two"><input data-dce-id="10" name="cem-autocomplete" slice="suggest" slice-event="input" | ||
type="radio" value="two"/> | ||
<dce-text data-dce-id="11">Two</dce-text> | ||
</label><label data-dce-id="9" value="three"><input data-dce-id="10" name="cem-autocomplete" slice="suggest" | ||
slice-event="input" type="radio" value="three"/> | ||
<dce-text data-dce-id="11">Three</dce-text> | ||
</label></fieldset> | ||
</dce-root> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.