include xml:lang and source attributes in GetDocumentation
This commit is contained in:
parent
5f79c4a481
commit
05dcbf0f09
@ -1784,8 +1784,16 @@ begin
|
|||||||
for documentationIndex := 0 to Pred(SchemaItem.Documentation.Count) do
|
for documentationIndex := 0 to Pred(SchemaItem.Documentation.Count) do
|
||||||
begin
|
begin
|
||||||
if SchemaItem.Documentation[documentationIndex].IsTextElement then
|
if SchemaItem.Documentation[documentationIndex].IsTextElement then
|
||||||
|
begin
|
||||||
|
if SchemaItem.Documentation[documentationIndex].HasAttribute('xml:lang') then
|
||||||
|
Result := Result + '[' + SchemaItem.Documentation[documentationIndex].Attributes['xml:lang'] + '] ';
|
||||||
|
|
||||||
|
if SchemaItem.Documentation[documentationIndex].HasAttribute('source') then
|
||||||
|
Result := Result + '(' + SchemaItem.Documentation[documentationIndex].Attributes['source'] + ') ';
|
||||||
|
|
||||||
Result := Result + SchemaItem.Documentation[documentationIndex].Text + #13#10;
|
Result := Result + SchemaItem.Documentation[documentationIndex].Text + #13#10;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
Result := Trim(Result);
|
Result := Trim(Result);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user