Automatic transformation of XML namespaces/Future directions

From Wikiversity
Jump to: navigation, search

Specifying a transformer with source/target being several namespaces treated as if it would be one NS. (Example: Dublin Core and dcterms: namespaces.)

Ability to restrict to certain elements/attributes of a namespace instead specifying the whole namespace.

Non-XML output formats. (For these only entire document transformers can be applied.) We can also use non-XML input formats. Also note that XSLT 3.0 supports JSON.

XProc: An XML Pipeline Language

Can we process several namespaces at once when the transformations (with different source namespaces) have exactly equal precedence? (Hm, this cannot be done if the transformers have different kinds. Should we enable concurrent processing of several namespaces when both their precedence and their order kind is the same?) Should we point one or several processors (one for each NS) for these multiple-namespaces transformers? (The transformers should be of the same order kind.)

The option of interactive choosing order of transformers.

It should be customizable for a user. It can be done as a user-specified set of RDF files. (Note that values in user-specified files should take precedence over other RDF files.)

There should be a (finite or infinite) mapping from a URL to several URLs when we downloading them.

Should we introduce “composite” scripts (consisting of several transformations sequentially)? First, they would badly interact with searching transformation path. Second, it looks like a cart ahead of horse that in this case we define a script through transformations (not vice versa). Mentioning this, are there weighty enough arguments to add such a construct?

We should formally describe and use XML Grouping. Some combinations of grouping and order kinds of transformers make no sense. Require to give a warning in such situations. How grouping should limit arbitrary choice one of several enriched scripts of the same singular precedence? (It is a rather difficult problem. Please leave your comments.) What to do with namespaced attributes?

We can associate precedences with namespaces and make it the default precedence of the transformers associated with the namespace in question.

Option to stop transformation if a document does not validate.

We should publish in SoftwareX.

What's about multiple output files (as when splitting an XHTML file into chapters)?

Group transformations by "topics" or "themes". For example in "color" theme XHTML tag <strong> may be transformed into red color. It also makes sense to define sub-themes: For example "background color" would be a subtheme of "color" and transform <strong> into an item with red background. It seems impossible to implement coherently: For example, one would need to specify that XInclude processing is unrelated to colors, in order not to filter out XInclude when we are on a color theme. Well, we can limit limiting to color theme only for these transformations/scripts, which belong to "visual" theme. Is it a good idea?