An excellent namespace conversion process hook espace file in itself


An excellent namespace conversion process hook espace file in itself

Consider a purchase order that has a namespace document represented in XML Schema, where the XML Schema bears a data-view:transformation attribute licensing extraction of statements that include namespaceTransformation statements:

cuatro. Playing with GRDDL which have appropriate XHTML

To help you make room for the fresh new DTD-oriented sentence structure away from XHTML[XHTML], hence precludes having fun with properties away from foreign namespaces, i fool around with as the an effective metadata character (cf. part 7.cuatro.cuatro.3 Meta tags pages of [HTML4]).

All round kind of incorporating a beneficial GRDDL assertion in order to a legitimate XHTML document is by indicating this new GRDDL reputation in the profile attribute of the direct function, and you will transformation while the value of the new rel characteristic away from a hook up otherwise a beneficial feature whoever href feature worthy of was an enthusiastic IRI reference one refers to an enthusiastic executable script otherwise system that is likely to alter the main cause file toward RDF. This method is acceptable to be used which have good XHTML data which was restricted of the an enthusiastic XML DTD.

An example Dublin Key META sales

Such as, which file observe the newest conventions from [RFC2731], therefore clearly uses brand new GRDDL profile and you may links to help you an enthusiastic XSLT transformation in order to RDF/XML so you can laws the conversion try a loyal rendition:

Several changes into the XHTML

An enthusiastic XHTML file may adhere to a lot of languages likewise and you can link to several GRDDL conversion. Yet not, because the href trait of the hook and you may a issue accept just one IRI site, several cases daddyhunt of such issue can be used to say multiple links:

Laws getting GRDDL with appropriate XHTML

Note that the base IRI of an element node in an XHTML document may be influenced by factors such as a base element[HTML4] Retrieval URIRFC3986, etc. See the Base IRI considerations appendix and test cases such as htmlbase1 for further clarification.

5. GRDDL having HTML Pages

XHTML has the reputation process in order to link to the definition regarding functions and set of court thinking for those services. Just as in namespace data files, a profile document can be efficiently become composed using XHTML that have inserted RDF statements and you will a GRDDL conversion to recuperate the expression conditions that will be appropriate. People conditions are able to be studied into the a keen XHTML document to help you communicate character-founded definition. Since discussed in using GRDDL which have appropriate XHTML, new GRDDL profile may be used that have XHTML documents to use GRDDL semantics more than link issues where in actuality the value of rel characteristic is actually transformation . So it extremely effective and flexible process brings together really that have microformat profiles[MF-RDF-FAQ] and this overlay the latest generally semantically-worst HTML markup.

Including a good GRDDL profileTransformation assertion so you’re able to a visibility file is significantly particularly adding good namespaceTransformation denial to help you an excellent namespace file. For a good dialect defined from the a valid XHTML character data files, add profile=”” to the lead ability and also make an association off sorts of profileTransformation towards sales of your dialect.

  • a development financial support PDOC , acknowledged by an enthusiastic IRI PNAME have an effective GRDDL effect complete with a multiple whose
  • subject is PDOC , whoever
  • predicate is the property < and whose
  • object is actually Tx ,

six. GRDDL Changes

As noted above, each GRDDL transformation specifies a transformation property, a function from XPath document nodes to RDF graphs. This function need not be total; it may have a domain smaller than all XML document nodes. For example, use of xsl:message with terminate="yes" may be used to signal that the input is outside the domain of the transformation.

Developers off changes need to make offered representations in commonly-served platforms. XSLT version 1[XSLT1] 's the format really extensively backed by GRDDL-alert representatives at the creating, though whether or not XSLT2[XSLT2] deployment was growing. Whenever you are commercially Javascript, C, otherwise another almost every other programming language could be used to express transformations having GRDDL, XSLT try specifically designed to express XML so you can XML changes and has many an effective cover qualities; XQuery has equivalent qualities to XSLT, no matter if accessibility XQuery in GRDDL implementation was reduced generally deployed in the course of which composing.


コメントを残す

メールアドレスが公開されることはありません。