Hi All, I am stuck with this for long. Any help is greatly appreciated.
Thanks, - Madhu On 4/16/07, Madhu Lagu <[EMAIL PROTECTED]> wrote:
Hi All, Me and my friend have beenusing xerces and xalan to read xml files. We have some commonly used files which we would like to include in other xml files using ENTITY tags. We could not find a way in which to use ENTITY tags in this way. Any pointers will be hightly appreciated. I am giving a small sample of what common.xml <?xml version="1.0"?> <element name="CommonProperty"> <property name="member1">bold</tauproperty> <property name="member2">28</tauproperty> </element> app.xml <?xml version="1.0"?> <!DOCTYPE common [ <!ENTITY common SYSTEM "common.xml"> ]> <Configuration> <Component name="CommonProp"> &common; </Component> </Configuration> I want to be able to use a XPATH like "/Configuration/Component/element/property[1]/text()" to read the value "bold" from app.xml Thanks, - Madhu
-- - Madhu Cell: +91-98499-92972
