[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: process response xml format


response xml
why can't it wrap the response in 

Content-type: text/plain

...response...

until you get a better idea of what you can do

alternatively you could return each line of response as part of an xml
format

Content-type: text/xml

<?xml version="1.0"?>
<?xml-stylesheet ...?>

<response>
	<line>....</line>
	...
	</response>

mozilla will be happy, if given a simple xsl 
ie has to be fooled by calling the script "something".xml

never really understood why ie doesn't believe mime headings, they seem
like optional extras.

rick

On Fri, 2004-04-16 at 03:34, bry@i... wrote:
> I have a little tool I've been building that 
> allows people to run command line processes 
> from the browser(well ie and mozilla so far, 
> also have it working in DENG), if the 
> process is listed in an xml file as allowed 
> and if the browser passes the right password 
> obviously (probably too involved to go into 
> the whole thing). Anyway when the process is 
> done executing I thought it would be nice if 
> it had some output that listed what it had 
> done, I figure what I want to do is to save 
> this information in xml and return it to the 
> calling browser etc. when requested.
> 
> The thing is that this seems like rather a 
> big thing, that the xml if generic enough 
> would be hideously complex and probably 
> uninformative as well. However if the format 
> was dependent on whatever process was run it 
> would be pretty diffult to set up any 
> framework for handling these process 
> responses. I figure then the format should 
> have a documentation aspect, that just 
> passes back info for a user to read about 
> what was done, and a more stringent form for 
> passing back computable information. 
> 
> it's the more stringent form I'm interested 
> in. I was thinking on the one hand that 
> there is a relation to wmi (since this is a 
> windows project) i.e listing a record of 
> what wmi objects were effected by an 
> operation. 
> 
> Does anyone know of any formats out there 
> that are similar to this, projects were 
> people have tried to handle the same 
> problems?
> 
> Sorry if this is unclear but right now I'm 
> dealing with a part of the application where 
> I'm not 100% sure what is needed, but I have 
> a suspicion/feeling that something extra 
> would be nice.
> 
> 
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
> 


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.