Re: string<?

Subject: Re: string<?
From: Chris Maden <crism@xxxxxxx>
Date: Fri, 8 May 1998 14:12:13 -0400 (EDT)
[Steve Tinney]
> Can anyone tell me how I reference string<? without the <? being
> taken as the start of a processing instruction?

Remember that your DSSSL stylesheet is an SGML document first; that
document's content is a set of style processing instructions after
it's parsed.

So, you can include <? in content the same way you would in any other
document: &lt;?.

However, I find it cumbersome to do this, and usually just wrap the
entire body of my stylesheets in a CDATA marked section, as another
poster suggested you do for this definition.

-Chris
-- 
<!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN">
<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • string<?
    • Steve Tinney - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id BAA02549Fri, 8 May 1998 01:51:17 -0400 (EDT)
      • Richard Light - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id FAA13103Fri, 8 May 1998 05:15:40 -0400 (EDT)
      • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA16238Fri, 8 May 1998 14:18:23 -0400 (EDT) <=