Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index

Thank you.

I did not remembered to check the syntax definition :-( .

Den 06.04.2016 17:19, Christian Lohmaier skreiv:
On Wed, Apr 6, 2016 at 4:39 PM, Kolbjørn Stuestøl
<> wrote:
Sometimes the <emph> tag is inserted before and after all other XML tags
like this (from Help):

    <variable id="tabelleinhalte">Open a spreadsheet document, choose
    <emph><switchinline select="sys">[…]
This is invalid according to document syntax definition. switchinline
is not listed as allowed subelement of "emph".

Other times before and after each emphasized word(s) like this:

    <variable id="tabelleinhalte">Open a spreadsheet document, choose
    <switchinline select="sys"><caseinline
    select="MAC"><emph>%PRODUCTNAME -
    Preferences</emph></caseinline><defaultinline><emph>Tools -
    Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME
    Calc - View</emph></variable>
This is valid.

Does it matter which method I am using?
Yes. Some are valid combinations according to the helpfile
specification, others are invalid.

The specification is here:

<!ELEMENT emph (#PCDATA | item | comment | help-id-missing)*>

<emph> can contain one or more of PCDATA (i.e. actual text content),
<item> tags, <comment> tags and <help-id-missing tags>, but no other
elements, specifically switchinline is not listed.


To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.