K
K
kras_ai2015-02-07 13:47:38
XSL & XSLT
kras_ai, 2015-02-07 13:47:38

Is it possible to specify multiple namespaces/namespace with options in?

Good afternoon.
I am transforming the structure of an xml document, and it is necessary that the root element
have declarations defined by namespace with a prefix of the form xmlns : prefix = "full URI" , is this possible when using XSLT v1.0?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kras_ai, 2015-02-08
@kras_ai

I found the solution, I will also try to describe the task in more detail:
There are two xml documents (document A and document B), completely different in structure but similar in content.
It is necessary to convert A to B, while in the root element of document B, according to the scheme, a bunch of namespaces with prefixes are declared.
I was strongly mistaken that all elements need to be created using .... In the final document, all used / required namespaces will be "added" to this element.
Like this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question