<?xml-stylesheet type="text/css" href="css.css"?><!DOCTYPE hello SYSTEM "dtd.dtd">
用实体:
<!ENTITY world SYSTEM "hello.txt">
还可以用XLink 

解决方案 »

  1.   

    反正我做开发用的都是写在配置文件里的
    <config>
    <systemConsts>
    <systemConst name="SYSTEM_PATH" value="c:\\jf01\\"/>
    <systemConst name="SYSTEM_CLASS_PATH" value="c:\\jf01\\classes\\"/>
    <systemConst name="TEXT_SEARCH_DB_PATH" value="c:\\jf01\\textSearchDB\\"/>
    </systemConsts>
    <py location="py.properties"/>
    <classNameShortening location="shorteningNameToFullName.properties"/>
    <serviceConfig location="service_definition.xml"/>
    <systemParams location="system_params.xml"/>
    <jndiServersResource location="jndi_servers.xml"/>
    <jotm contextName="default" userTransactionJndiName="javax.transaction.UserTransaction" transactionManagerJndiName="javax.transaction.TransactionManager"/>
    <entityConfig location="entity_definition.xml"/>
    </config>
      

  2.   

    <property file="build.properties" />
      

  3.   

    应该是在载入XML的操作中去做,而不是在XML中直接引用。