Use proper syntax highlighting for XML examples
This commit is contained in:
parent
d157ce598b
commit
468f083ab0
|
|
@ -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 -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue