[jdom-interest] can I insert a XML-tag of one to another XML-file?
Adnan Oeztuerk
oeztuerk at novedia.de
Thu Jun 28 07:39:01 PDT 2001
Hi,
can I insert a XML-tag of one to another XML-file?
(not complete insert a XML-file)
e.g.
order.xml
------------
<function name="order">
<dbcommand>
SELECT * from Customer
</dbcommand>
</function>
application.xml
----------------
<application>
<!-- include order.xml/<dbcommand> ? -->
</apllication>
I used Xinclude engine 1.0d5 but it doesn't worked: ( java
com.macfaq.xml.XIncluder application.xml)
-----------------------------------------------------------------
<application xmlns:xi="http://www.w3.org/1999/XML/xinclude">
<xi:include parse="xml"
href="order.xml#xpointer(/function/dbcommand)"/>
</apllication>
-----------------------------------------------------------------
thanks,
ado
More information about the jdom-interest
mailing list