Update reference documentation generation tools to get source highlighting [SPRNET-1045]
This commit is contained in:
@@ -1,8 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<chapter id="vsnet">
|
||||
<!--
|
||||
/*
|
||||
* Copyright 2002-2008 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<chapter xml:id="vsnet" xmlns="http://docbook.org/ns/docbook" version="5">
|
||||
<title>Visual Studio.NET Integration</title>
|
||||
|
||||
<sect1 id="vsnet-config-section">
|
||||
<sect1 xml:id="vsnet-config-section">
|
||||
|
||||
|
||||
<title>XML Editing and Validation</title>
|
||||
@@ -15,15 +32,15 @@
|
||||
validated against the Spring.NET XML Schema at runtime. The location of
|
||||
the XML configuration data to create an
|
||||
<literal>IApplicationContext</literal> can be any of the resource
|
||||
locations supported by Spring's <classname>IResource</classname>
|
||||
locations supported by Spring's <literal>IResource</literal>
|
||||
abstraction. (See <xref linkend="objects-iresource" /> for more
|
||||
information.) To create an <classname>IApplicationContext</classname>
|
||||
information.) To create an <literal>IApplicationContext</literal>
|
||||
using a "standalone" XML configuration file the custom configuration
|
||||
section in the standard .NET application configuration would read:</para>
|
||||
|
||||
|
||||
|
||||
<programlisting><spring>
|
||||
<programlisting language="myxml"><spring>
|
||||
|
||||
<context>
|
||||
<resource uri="file://objects.xml"/>
|
||||
@@ -41,7 +58,7 @@
|
||||
|
||||
element. If you reference the Spring.NET XML schema as shown below, you can get intellisense and validation support while editing a Spring configuration file in VS.NET 2005. In order to get this functionality in VS.NET 2002/2003 you will need to register the schema with VS.NET or include the schema as part of your application project.
|
||||
|
||||
<programlisting><?xml version="1.0" encoding="UTF-8"?>
|
||||
<programlisting language="myxml"><?xml version="1.0" encoding="UTF-8"?>
|
||||
<objects xmlns="http://www.springframework.net"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.net http://www.springframework.net/xsd/spring-objects.xsd">
|
||||
@@ -101,7 +118,7 @@
|
||||
|
||||
|
||||
<para>
|
||||
<programlisting><?xml version="1.0" encoding="UTF-8"?>
|
||||
<programlisting language="myxml"><?xml version="1.0" encoding="UTF-8"?>
|
||||
<objects xmlns="http://www.springframework.net">
|
||||
<object id="..." type="...">
|
||||
...
|
||||
@@ -128,9 +145,9 @@
|
||||
location to store the object definitions that will be managed by the
|
||||
object factory.</para>
|
||||
|
||||
|
||||
|
||||
<programlisting>
|
||||
|
||||
<programlisting language="myxml">
|
||||
<configuration>
|
||||
|
||||
<configSections>
|
||||
@@ -183,7 +200,7 @@
|
||||
|
||||
</sect1>
|
||||
|
||||
<sect1 id="vsnet-schema-versions">
|
||||
<sect1 xml:id="vsnet-schema-versions">
|
||||
<title>Versions of XML Schema</title>
|
||||
|
||||
<para>The schema was updated from Spring 1.0.1 to 1.0.2 in order to
|
||||
@@ -193,7 +210,7 @@
|
||||
<literal>http://www.springframework.net/xsd/</literal></para>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="vsnet-api-help">
|
||||
<sect1 xml:id="vsnet-api-help">
|
||||
<title>Integrated API help</title>
|
||||
|
||||
<para>Spring provides API documentation that can be integrated within
|
||||
|
||||
Reference in New Issue
Block a user