Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.text.xml > #770

Re: Specifying an executable string in XML terms

From Victor Porton <porton@narod.ru>
Newsgroups comp.text.xml
Subject Re: Specifying an executable string in XML terms
Date 2014-06-28 21:19 +0300
Organization Aioe.org NNTP Server
Message-ID <lon0vm$371$2@speranza.aioe.org> (permalink)
References <lon0oi$371$1@speranza.aioe.org>

Show all headers | View raw


Victor Porton wrote:

> The following XML fragment is intended to specify that python executable
> should be called with a script provided by a user:
> 
> There are two variants, which of the two is better? Why?
> 
> 1.
> 
> <command>python %s</command>
> 
> 2.
> 
> <command>python <script/></command>

The first variant is easier to process with software which reads the XML, 
because it is simpler to manipulate with strings than with XML data.

Other arguments to choose one of the two?

-- 
Victor Porton - http://portonvictor.org

Back to comp.text.xml | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Specifying an executable string in XML terms Victor Porton <porton@narod.ru> - 2014-06-28 21:15 +0300
  Re: Specifying an executable string in XML terms Victor Porton <porton@narod.ru> - 2014-06-28 21:19 +0300
    Re: Specifying an executable string in XML terms Peter Flynn <peter@silmaril.ie> - 2014-07-13 23:44 +0100
  Re: Specifying an executable string in XML terms richard@cogsci.ed.ac.uk (Richard Tobin) - 2014-06-29 11:40 +0000

csiph-web