If I remove the xmlns from the document, I still get the same problem...

<AGU-article DOI="10.1029/2002JD002489" DTD-version="3.42" 
paper-number="2002JD002489"
paper-type="rga">
 <header>



----- Original Message -----
From: "Gordon Chiu" <[EMAIL PROTECTED]>
To: "Steve Carton" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2003 3:08 PM
Subject: Re: stylesheet doesn't recognize elements


| On Mon, 22 Sep 2003, Steve Carton wrote:
|
| > 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?
|
| The elements in your XML document are in the http://www.agu.org/XML
| default namespace; you'll have to declare that namespace in your XSL file
| and use it in your XPath expressions. Please see
| http://xml.apache.org/xalan-j/faq.html#faq-N101DC for an example.
|
| Gordon

Reply via email to