Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Entity text replacement

Status
Not open for further replies.

kostler

Programmer
Joined
Oct 25, 2001
Messages
1
Location
US
I have defined a general entity and would like to use it in an external entity, as well as later in the file. I am referencing the projetRoot entity from the URI section of the includeXMLFile entity and the projetRoot entity doesn't get replaced. Is there a way to do this? Thank you.

<!DOCTYPE project
[
<!ENTITY projectRoot &quot;.&quot;>
<!ENTITY includeXMLFile SYSTEM &quot;file:&projectRoot;/includeFile.xml&quot;>
]
>

<project name=&quot;test&quot;>
&includeXMLFile;
...

</project>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top