OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Scripting and XML

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: Rasmus Lerdorf <rasmus@lerdorf.on.ca>, "Simon St.Laurent" <SimonStL@classic.msn.com>
  • Date: Sat, 18 Oct 1997 21:06:13 -0700

At 11:50 PM 18/10/97 -0400, Rasmus Lerdorf wrote:
>My solution, naiive as it might be, is to make hide my language inside a
>PI tag. The XML syntax definition for this tag is:
...
>So, a typical bit of code would look like:
>  <?php
>    $result=mysql("db","select passwd from users where id='$cookie'");
...
>  ?>

The question is, do you regard your script as part of the document
or not?  If so, you should use <![CDATA[.  If not, the PI is perfectly
appropriate and being used exactly as designed. -Tim

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS