toc777
toc777

Reputation: 2697

Statements inside double curly braces in XML document?

I am hoping someone can tell me what the following {{object|LANDevice}} is supposed to be used for? It looks like an xPath statement for selecting the LANDevice node but why the double curly braces? and what would it return, the node name?

<parameter name="LANDeviceNumberOfEntries" access="readOnly">
<description>Number of instances of {{object|LANDevice}}.</description>
   <syntax>
       <unsignedInt/>
   </syntax>
</parameter>

The full XML document is here. There seems to be a lot of these double curly brace statements but I'm not sure how they are intended to be used.

EDIT: It turns out this is MediaWiki markup. The double curly braces are used to denote a template.

Upvotes: 4

Views: 1672

Answers (2)

Michael Kay
Michael Kay

Reputation: 163458

It's not XPath or XSLT. I don't recognize it. That doesn't mean much; there may be zillions of people who do. But in general it's hard to tell what something means unless you know what language it's written in, and from this snippet, it's not obvious.

Upvotes: 3

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 799082

Looks like notation for some documentation-generation tool.

Upvotes: 3

Related Questions