This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]