Re: [SLUG] Q) XML - is there a linux counter part to xmlspy

2004-08-19 Thread Stuart Guthrie
Eclipse with the free 'black sun' plugin is a nice XML formatter. It's
not as nice as XMLspy but does the job for me!

www.eclipse.org

Black sun is on sourceforge as are lots and lots of eclipse plugins.

HTH


Stuart


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Q) XML - is there a linux counter part to xmlspy

2004-08-19 Thread James Gregory
On Fri, 2004-08-20 at 10:39 +1000, Alexander Samad wrote:
> Side topic on XML
> 
> is there anything in linux comparable to xmlspy from the windows world ?

Wow. You now have the dubious honour of reminding me why I don't use
IDEs. For those of you like me who hadn't heard of this thing, here's a
screenshot:

http://www.xmlspy.com/images/shots/XMLSPYoverview.gif

There are a couple of things around, but none of them look as...
enormous as that application. There's kxmleditor:

http://kxmleditor.sourceforge.net

and there's a gnome app called conglomerate:

http://www.conglomerate.org/

I don't use either of them, so I don't know if they'll be of any use.

And of course, emacs has some nifty features for dealing with XML.

HTH,

James.

-- 
James Gregory <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Q) XML - is there a linux counter part to xmlspy

2004-08-19 Thread Alexander Samad
Side topic on XML

is there anything in linux comparable to xmlspy from the windows world ?

Alex

On Thu, Aug 19, 2004 at 11:23:12PM +1000, Louis wrote:
> Hi James:
> 
> > Well, that's probably what it means. XML parsers are generally pretty
> good at spotting errors. If you're able to reveal the source of your
> XML, perhaps we could find the error. Of course, that may not be much
> help unless you also control the source of the RSS.
> 
> [Louis] I am using YahooNews url
> 
> http://news.search.yahoo.com/usns/ynsearch/categories/news_story_search_rss/index.html?p=some+keyword
> 
> So I cannot control the source. Sometimes I get the error. Not all the time.
> 
> > The other option to consider is that there are XML parsers around that
> will deal with dodgy XML. It's been too long since I've used the perl
> XML libs, bit there might even be a flag you can set to get them to
> work.
> 
> [Louis] I'll have to read about this from perldoc of XML::RSS.
> 
> > If you just want to catch the error, then you need to use eval. Like
> this:
> 
> eval {
># do stuff
> };
> warn "something broke" if $@;
> 
> [Louis] Do u mean
> 
> eval {
> 
> my $rssobj = "";
> $rssobj = new XML::RSS;
> 
> $url = YahooNewsUrl;
> 
> $response = $browser->get($url); # assuming LWP is defined before eval
> 
> if (!($response->is_success)) { # flag some error/warning; }
> 
> my $temp = $response->content();
> 
> # parse the RSS content
> $rssobj->parse($temp); # Is the error I reported happening here ???
> }
> warn "something broke" if $@;
> 
> Cheers.
> 
> -- 
> I'm always learning something new everyday. Thanks Sluggers.
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html