Hello Joseph,

The way I process it is the following:

{
      TransformerFactory tfactory = TransformerFactory.newInstance();

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

      DOMResult resultado=new DOMResult();
      transformer.transform(new StreamSource(new StringReader(strXml)),
resultado);
      NodeSet inter=new NodeSet();
      inter.addNode(resultado.getNode());

      return inter;
   }


Hope you can help me to eliminate xmlns:xml attribute.

Thanks

Victor



----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 02, 2001 5:13 PM
Subject: Re: xmlns:xml attribute


>
> 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