> I have a stylesheet and a document that I'm processing from within a JAVA
program.
>
> Problem is, none of the elements in the document are recognized by the
stylesheet.
> I get a result document that is essentially empty.  Snippets follow.  Any
idea what
> is causing this?
...
> <AGU-article DOI="10.1029/2002JD002637" DTD-version="3.42"
paper-number="2002JD002637"
> paper-type="rga" xmlns="http://www.agu.org/XML";> <header> ...

The root element declares a default namespace, so all unprefixed elements
in the scope of this declaration are in that namespace.  There is a FAQ
which covers this:

   http://xml.apache.org/xalan-j/faq.html#faq-N101DC

Dave

Reply via email to