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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] process response xml format

[ Lists Home | Date Index | Thread Index ]

why can't it wrap the response in 

Content-type: text/plain


until you get a better idea of what you can do

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

Content-type: text/xml

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


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.


On Fri, 2004-04-16 at 03:34, bry@itnisk.com 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>


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

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