xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Sean Truman" <struman AT nuparadigm.com>
- To: <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] xmlns="" Is this Normal Behavior?
- Date: Fri, 17 Mar 2006 10:12:50 -0600
Code:
Element root = new Element("root","http://www.test.com/root");
root.appendChild(new Element("child"));
Document nd = new Document(root);
System.out.println("Document:"+nd.toXML());
Output:
Document:<?xml version="1.0"?>
<root xmlns="http://www.test.com/root"><child xmlns="" /></root>
Is there a reason that the child xmlns is empty? Or is this normal
behavior?
Sean Truman
Senior System Engineer
Nuparadigm Government Systems, Inc.
(work)(636)777-4235
-
[XOM-interest] xmlns="" Is this Normal Behavior?,
Sean Truman, 03/17/2006
- Re: [XOM-interest] xmlns="" Is this Normal Behavior?, John Cowan, 03/17/2006
Archive powered by MHonArc 2.6.24.