I am using the entity tag in my scripts, but I use realtive paths to get to the
include file.
<!DOCTYPE project [ <!ENTITY setup SYSTEM "../setup.xml"> %setup;]>
jim
----- Original Message -----
From: "Keith Kee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 2:10 PM
Subject: RE: How to include a variable in !ENTITY tag?
> It there any other way to include an external file beside using the ENTITY
> tag from SGML context?
>
> - keith
>
> -----Original Message-----
> From: KC Baltz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 2:03 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: How to include a variable in !ENTITY tag?
>
>
> This is almost certainly impossible, as properties/variables are a feature
> of Ant, while !DOCTYPE and !ENTITY are features of XML that get resolved
> before Ant gets to see them.
>
> K.C.
>
> > -----Original Message-----
> > From: Keith Kee [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 16, 2001 12:23 PM
> > To: [EMAIL PROTECTED]
> > Subject: How to include a variable in !ENTITY tag?
> >
> >
> > Hi:
> > I am new to ant, and is thinking of migrating from GNUMake
> > environment. It
> > looks like it is possible to migrating from the current
> > GNUmake environment
> > except one major problem: I cannot specify an environment
> > variable to the
> > ENTITY tag like this.
> > <!DOCTYPE project [
> > <!ENTITY include SYSTEM "${CONFIG_DIR}/common.xml">
> > ]>
> >
> > Can somebody point out if this is possible, or if there is a viable
> > workaround? I search the mailing archive and FAQ with no avail.
> >
> > TIA,
> > keith
> >
>
>
>