Hi Everyone,
I am editor of the OASIS XLIFF TC. I am trying to work out 'true' inline
elements in DITA, e.g. those that do not signal a break in the
linguistic flow of #PCDATA. As most things can occur within most other
things in DITA, this is not that easy to work out from the Schema
itself.
I have gone through the contents of the "p" element and have tried to
identify all of the usual suspects. I have come up with the following
list:
audience
b
boolean
cite
codeph
colspec
coords
copyryear
created
delim
fig
filepath
fragref
i
image
indexterm
indextermref
keywords
menucascade
msgnum
msgph
no-topic-nesting
object
oper
othermeta
param
permissions
ph
q
repsep
resourceid
revised
sep
spanspec
state
sub
sup
synnoteref
synph
systemoutput
term
tm
tt
u
uicontrol
userinput
var
vrm
xref
I have attached a list of these inlines providing their content models
based on an automated analysis of the DITA Schema. If anyone could
confirm my choices, or add additional element names I would be most
grateful.
Thank you in advance,
AZ
<inlines>
<element content="(#PCDATA)|((varname)|(term)){0-UNBOUNDED}" inline="yes" name="systemoutput"/>
<element content="(#PCDATA)|(((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|(((xref))|((fragref)|(synnoteref)))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm)))){0-UNBOUNDED}" inline="yes" name="i"/>
<element content="(#PCDATA)|((codeph)|(var)|(oper)|(delim)|(sep)|(synph)|(option)|(parmname)|(kwd)|(term)){0-UNBOUNDED}" inline="yes" name="synph"/>
<element content="(#PCDATA)|((varname)|(msgnum)|(term)){0-UNBOUNDED}" inline="yes" name="msgph"/>
<element content="EMPTY" inline="yes" name="revised"/>
<element content="(#PCDATA)|(((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|(((xref))|((fragref)|(synnoteref)))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm)))){0-UNBOUNDED}" inline="yes" name="sub"/>
<element content="EMPTY" inline="yes" name="spanspec"/>
<element content="(((desc)){0-1},((param)){0-UNBOUNDED})" inline="yes" name="object"/>
<element content="EMPTY" inline="yes" name="boolean"/>
<element content="(#PCDATA)|((image)|(shortcut)|(term)){0-UNBOUNDED}" inline="yes" name="uicontrol"/>
<element content="(#PCDATA)|((((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|(((xref))|((fragref)|(synnoteref)))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm))))){0-UNBOUNDED}" inline="yes" name="q"/>
<element content="EMPTY" inline="yes" name="audience"/>
<element content="(#PCDATA)|(((((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((term)))){0-UNBOUNDED}" inline="yes" name="delim"/>
<element content="(#PCDATA)|(((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|(((xref))|((fragref)|(synnoteref)))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm)))){0-UNBOUNDED}" inline="yes" name="u"/>
<element content="EMPTY" inline="yes" name="param"/>
<element content="(#PCDATA)|((varname)|(term)){0-UNBOUNDED}" inline="yes" name="userinput"/>
<element content="(#PCDATA)|(((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|(((xref))|((fragref)|(synnoteref)))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm)))){0-UNBOUNDED}" inline="yes" name="sup"/>
<element content="EMPTY" inline="yes" name="othermeta"/>
<element content="EMPTY" inline="yes" name="permissions"/>
<element content="((indexterm)|(keyword)){0-UNBOUNDED}" inline="yes" name="keywords"/>
<element content="(#PCDATA)|(((((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((term)))){0-UNBOUNDED}" inline="yes" name="sep"/>
<element content="(((alt)){0-1})" inline="yes" name="image"/>
<element content="EMPTY" inline="yes" name="no-topic-nesting"/>
<element content="(#PCDATA)|(((((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((term)))|(indexterm)){0-UNBOUNDED}" inline="yes" name="indexterm"/>
<element content="(#PCDATA)|(((((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((term)))){0-UNBOUNDED}" inline="yes" name="oper"/>
<element content="(#PCDATA)|((((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|(((xref))|((fragref)|(synnoteref)))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm)))|((image))|(((draft-comment))|((required-cleanup))|(((fn))|((synnote)))|((indextermref))|((indexterm))))){0-UNBOUNDED}" inline="yes" name="ph"/>
<element content="EMPTY" inline="yes" name="indextermref"/>
<element content="(#PCDATA)|((((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm))))){0-UNBOUNDED}" inline="yes" name="fragref"/>
<element content="EMPTY" inline="yes" name="colspec"/>
<element content="(#PCDATA)|((varname)|(term)){0-UNBOUNDED}" inline="yes" name="filepath"/>
<element content="(#PCDATA)|(((tm))){0-UNBOUNDED}" inline="yes" name="term"/>
<element content="(#PCDATA)|(#PCDATA)" inline="yes" name="msgnum"/>
<element content="EMPTY" inline="yes" name="resourceid"/>
<element content="EMPTY" inline="yes" name="synnoteref"/>
<element content="(#PCDATA)|(((((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((term)))){0-UNBOUNDED}" inline="yes" name="coords"/>
<element content="(#PCDATA)|((uicontrol){1-UNBOUNDED})" inline="yes" name="menucascade"/>
<element content="EMPTY" inline="yes" name="created"/>
<element content="(#PCDATA)|(((((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((term)))){0-UNBOUNDED}" inline="yes" name="var"/>
<element content="(#PCDATA)|(((tm))){0-UNBOUNDED}" inline="yes" name="tm"/>
<element content="EMPTY" inline="yes" name="copyryear"/>
<element content="(#PCDATA)|((((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm))))){0-UNBOUNDED}" inline="yes" name="cite"/>
<element content="(#PCDATA)|(((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|(((xref))|((fragref)|(synnoteref)))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm)))){0-UNBOUNDED}" inline="yes" name="tt"/>
<element content="(((title)){0-1},((desc)){0-1},((((figgroup))|((fragment)|(groupcomp)|(groupchoice)|(groupseq)|(synblk))|((area)))|((((p))|((lq))|((note))|(((dl))|((parml)))|((ul))|((ol))|((sl))|(((pre))|((codeblock))|((screen))|((msgblock)))|((lines))|((image))|((object)))|((simpletable))|(((xref))|((fragref)|(synnoteref)))|(((fn))|((synnote))))){0-UNBOUNDED})" inline="yes" name="fig"/>
<element content="EMPTY" inline="yes" name="state"/>
<element content="(#PCDATA)|(((((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((term)))){0-UNBOUNDED}" inline="yes" name="repsep"/>
<element content="EMPTY" inline="yes" name="vrm"/>
<element content="(#PCDATA)|(((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|(((xref))|((fragref)|(synnoteref)))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname))))){0-UNBOUNDED}" inline="yes" name="codeph"/>
<element content="(#PCDATA)|((((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm)))|((image)))){0-UNBOUNDED}" inline="yes" name="xref"/>
<element content="(#PCDATA)|(((((ph))|((codeph)|(var)|(synph)|(oper)|(delim)|(sep)|(repsep))|((uicontrol)|(menucascade))|((sup)|(sub)|(tt)|(b)|(u)|(i))|((coords))|((msgph)|(filepath)|(userinput)|(systemoutput)))|((term))|(((xref))|((fragref)|(synnoteref)))|((cite))|((q))|((state))|((boolean))|(((keyword))|((option)|(parmname)|(apiname)|(kwd))|((shortcut)|(wintitle))|((shape))|((msgnum)|(varname)|(cmdname)))|((tm)))){0-UNBOUNDED}" inline="yes" name="b"/>
</inlines>