This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xml entities
- To: xsl-list at mulberrytech dot com
- Subject: Re: xml entities
- From: Mike Brown <mike at skew dot org>
- Date: Sun, 18 Jun 2000 11:07:02 -0600 (MDT)
- Reply-To: xsl-list at mulberrytech dot com
> 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:
webb.net in Denver, Colorado, USA http://www.skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list