mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Adding first iteration of the JSON-C Style Guide for JSON APIs
This commit is contained in:
parent
5e1696994b
commit
f07658c730
1182
jsoncstyleguide.xml
Normal file
1182
jsoncstyleguide.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
jsoncstyleguide_example_01.png
Normal file
BIN
jsoncstyleguide_example_01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 312 KiB |
BIN
jsoncstyleguide_example_02.png
Normal file
BIN
jsoncstyleguide_example_02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 253 KiB |
|
@ -374,7 +374,7 @@ xmlns:fn="http://www.w3.org/2005/xpath-functions">
|
||||||
|
|
||||||
<!-- This passes through any HTML elements that the
|
<!-- This passes through any HTML elements that the
|
||||||
XML doc uses for minor formatting -->
|
XML doc uses for minor formatting -->
|
||||||
<xsl:template match="a|address|blockquote|br|center|cite|code|dd|div|dl|dt|em|hr|i|li|ol|p|pre|span|table|td|th|tr|ul|var|A|ADDRESS|BLOCKQUOTE|BR|CENTER|CITE|CODE|DD|DIV|DL|DT|EM|HR|I|LI|OL|P|PRE|SPAN|TABLE|TD|TH|TR|UL|VAR">
|
<xsl:template match="a|address|blockquote|br|center|cite|code|dd|div|dl|dt|em|hr|i|img|li|ol|p|pre|span|table|td|th|tr|ul|var|A|ADDRESS|BLOCKQUOTE|BR|CENTER|CITE|CODE|DD|DIV|DL|DT|EM|HR|I|LI|OL|P|PRE|SPAN|TABLE|TD|TH|TR|UL|VAR">
|
||||||
<xsl:element name="{local-name()}">
|
<xsl:element name="{local-name()}">
|
||||||
<xsl:copy-of select="@*"/>
|
<xsl:copy-of select="@*"/>
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user