[转载] 急问: 在 jaxp 中怎样建立新 Node ? 多谢!# XML - WWW明日之星
w*n
1 楼
【 以下文字转载自 Java 讨论区 】
【 原文由 williamchen 所发表 】
It seems that the APIs of JAXP is just for manipulating those
existing TAGs and VALUEs.
The question is, if we have already had a DOM representation
of entire XML fragment, how can we create a new Node?
Since Node is an interface and it can not be 'new'ed.
The node insertion is described by the API, just wonder how to
create Node.
thanks a lot!
【 原文由 williamchen 所发表 】
It seems that the APIs of JAXP is just for manipulating those
existing TAGs and VALUEs.
The question is, if we have already had a DOM representation
of entire XML fragment, how can we create a new Node?
Since Node is an interface and it can not be 'new'ed.
The node insertion is described by the API, just wonder how to
create Node.
thanks a lot!