[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: xml entities


Subject: Re: xml entities
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Mon, 19 Jun 2000 06:31:20 -0700

Thanks for the reply.

I had tried this and it did not work either.  I am using Cocoon on linux. Is
this a limitiation of cocoon?



----- Original Message -----
From: Mike Brown <mike@xxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Sunday, June 18, 2000 10:07 AM
Subject: Re: xml entities


> > 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
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml