Thanks for the help.
I have tried with new version D11 but still with the same problem.

The source code I sent is a xsl extension which is placed some where in a
xsl document.
I process the xml document and xsl document in this way:
Hope this can give you a clue of what I am doing wrong.

Thanks

Victor


{
      TransformerFactory tfactory = TransformerFactory.newInstance();

      //Hoja de estilos
      Templates xsl = tfactory.newTemplates(new StreamSource(new
StringReader(strXsl)));
      Transformer transformer = xsl.newTransformer();

      //Fusionar XML con XSL
      //StringWriter swResultado = new StringWriter(4096);
      DOMResult resultado=new DOMResult();
      transformer.transform(new StreamSource(new StringReader(strXml)),
resultado);
      NodeSet inter=new NodeSet();
      inter.addNode(resultado.getNode());

      return inter;
   }







>
> Xalan's internal representation is based on the XPath data model, not on
> the DOM data model. That means all XML Namespace declaration should
appear,
> including the one for the "hard-wired" xml: namespace. In earlier versions
> of Xalan we were generally forgetting to generate that namespace node; D11
> corrects that mistake.
>
> But it should be appearing only a Namespace Node, not as an Attribute...
> and while it's present during Xalan's processing, it should normally not
be
> included in the processor's output.
>
> You showed us how you're building the input document, but you didn't show
> us how you're processing it... so I can't say whether what you're seeing
is
> a bug, or is working-as-designed.

Reply via email to