1 | <?xml version="1.0" encoding="utf-8" ?>
|
---|
2 | <!--
|
---|
3 | This document specifies shared content tokens for both conceptual and
|
---|
4 | auto-generated reference topics.
|
---|
5 |
|
---|
6 | NOTE: Unlike typical shared content documents, recursion is not supported.
|
---|
7 |
|
---|
8 | The following example defines a content item that will replace "msdn" tokens
|
---|
9 | with a MAML link and some text.
|
---|
10 |
|
---|
11 | <item id="msdn">
|
---|
12 | the <ddue:externalLink>
|
---|
13 | <ddue:linkText>MSDN online</ddue:linkText>
|
---|
14 | <ddue:linkUri>http://msdn2.microsoft.com</ddue:linkUri>
|
---|
15 | </ddue:externalLink> web site
|
---|
16 | </item>
|
---|
17 |
|
---|
18 | The following example uses the previously defined content item in a MAML
|
---|
19 | paragraph.
|
---|
20 |
|
---|
21 | <section>
|
---|
22 | <title/>
|
---|
23 | <content>
|
---|
24 | <para>
|
---|
25 | Visit <token>msdn</token> to find related articles.
|
---|
26 | </para>
|
---|
27 | </content>
|
---|
28 | </section>
|
---|
29 |
|
---|
30 | The following example defines a content item that will expand "company"
|
---|
31 | tokens into the full name of a company.
|
---|
32 |
|
---|
33 | <item id="company">My Company, Inc.</item>
|
---|
34 |
|
---|
35 | The following example uses the previously defined content item in the
|
---|
36 | remarks section of XML documentation comments for some API.
|
---|
37 |
|
---|
38 | <remarks>
|
---|
39 | <para>
|
---|
40 | The implementation being used was originally developed by
|
---|
41 | <token>company</token> in 1993.
|
---|
42 | </para>
|
---|
43 | </remarks>
|
---|
44 |
|
---|
45 | - The id attribute is not case-sensitive.
|
---|
46 | - Items may contain text, markup or both.
|
---|
47 | - MAML markup requires the ddue: prefix to be specified. Therefore,
|
---|
48 | tokens with MAML content cannot be used by tokens that appear in
|
---|
49 | XML documentation comments.
|
---|
50 | -->
|
---|
51 | <items xml:space="preserve" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink">
|
---|
52 | <!-- Add content items here -->
|
---|
53 | </items>
|
---|