Use proper syntax highlighting for XML examples

This commit is contained in:
Sam Brannen 2016-01-28 19:00:03 +01:00
parent d157ce598b
commit 468f083ab0
1 changed files with 2 additions and 2 deletions

View File

@ -1719,7 +1719,7 @@ then nested `constructor-arg` elements.
Let's review the examples from <<beans-constructor-injection>> with the `c:` namespace:
[source,java,indent=0]
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
<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
the bytecode was compiled without debugging information), one can use fallback to the
argument indexes:
[source,java,indent=0]
[source,xml,indent=0]
[subs="verbatim,quotes"]
----
<!-- c-namespace index declaration -->