24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Defining only prefixed namespacesGiven the namespace declaration:<strong>Author</strong> Developer Guide | 237@namespace sync "http://sync.example.org";Then:sync|A|B*|CDrepresents the name A in the http://sync.example.org namespace.represents the name B that belongs to NO NAMESPACE.represents the name C in ANY namespace, including NO NAMESPACE.represents the name D in ANY namespace, including NO NAMESPACE.The attr() Function: Properties Values Collected from the Edited Document.In CSS Level 2.1 you may collect attribute values and use them as content only for the pseudo-elements. For instancethe :before pseudo-element can be used to insert some content before an element. This is valid in CSS 2.1:title:before{content: "Title id=(" attr(id) ")";}If the title element from the <strong>XML</strong> document is:My title.Then the title will be displayed as:Title id=(title12) My title.In <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> the use of attr() function is available not only for the content property, but also for anyother property. This is similar to the CSS Level 3 working draft:http://www.w3.org/TR/2006/WD-css3-values-20060919/#functional. The arguments of the function are:attr ( attribute_name , attribute_type , default_value )attribute_nameThe attribute name. This argument is required.attribute_type The attribute type. This argument is optional. If it is missing, argument's type is consideredstring. This argument indicates what is the meaning of the attribute value and helps to performconversions of this value. <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> <strong>Author</strong> accepts one of the followingtypes:colorThe value represents a color. The attribute may specify a color in differentformats. <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> supports colors specified either by name: red,blue, green, etc. or as an RGB hexadecimal value #FFEEFF.urlintegernumberThe value is an URL pointing to a media object. <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong><strong>Author</strong> supports only images. The attribute value can be a complete URL, ora relative one to the <strong>XML</strong> document. Please note that this URL is also resolvedthrough the catalog resolver.The value must be interpreted as an integer.The value must be interpreted as a float number.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!