Re: xml entities

Subject: Re: xml entities
From: Mike Brown <mike@xxxxxxxx>
Date: Sun, 18 Jun 2000 11:07:02 -0600 (MDT)
> I am wondering if someone can tell me how to do something like:
> <!DOCTYPE apage[
>     <!ENTITY logoid "0001">
>     <!ENTITY logo SYSTEM "sections/logo/l_xx_&logoid;.xml">
> ]>
> where the first entity defines a "variable" for the next entity.

XML 1.0 provides "parameter" entities for this purpose.

<!ENTITY % logoid "0001">
<!ENTITY logo SYSTEM "sections/logo/l_xx_%logoid;.xml">

   - Mike
Mike J. Brown, software engineer at         My XML/XSL resources: in Denver, Colorado, USA 

 XSL-List info and archive:

Current Thread