提交 468f083a 编写于 作者: S Sam Brannen

Use proper syntax highlighting for XML examples

上级 d157ce59
...@@ -1719,7 +1719,7 @@ then nested `constructor-arg` elements. ...@@ -1719,7 +1719,7 @@ then nested `constructor-arg` elements.
Let's review the examples from <<beans-constructor-injection>> with the `c:` namespace: Let's review the examples from <<beans-constructor-injection>> with the `c:` namespace:
[source,java,indent=0] [source,xml,indent=0]
[subs="verbatim,quotes"] [subs="verbatim,quotes"]
---- ----
<beans xmlns="http://www.springframework.org/schema/beans" <beans xmlns="http://www.springframework.org/schema/beans"
...@@ -1753,7 +1753,7 @@ For the rare cases where the constructor argument names are not available (usual ...@@ -1753,7 +1753,7 @@ For the rare cases where the constructor argument names are not available (usual
the bytecode was compiled without debugging information), one can use fallback to the the bytecode was compiled without debugging information), one can use fallback to the
argument indexes: argument indexes:
[source,java,indent=0] [source,xml,indent=0]
[subs="verbatim,quotes"] [subs="verbatim,quotes"]
---- ----
<!-- c-namespace index declaration --> <!-- c-namespace index declaration -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册