To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9774
9773  |  9775
Subject: 
Re: Request change to ptreleases.cgi
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 1 Aug 2004 08:36:12 GMT
Viewed: 
1515 times
  
In lugnet.cad.dev, Steve Bliss wrote:
In lugnet.cad.dev, Travis Cobbs wrote:
I'm not really up on XML, but it looks fine to me.  I do have a question,
though.  Is there some significance that I am missing to naming the root
element "opt"?

There's no significance, AFAIK.  The Perl module, XML::Simple, wraps the <opt>
tag around everything automatically.  I scanned the docs, but didn't see how to
control it.

Steve

In XML::Simple the root element name is controlled by the RootName option
(RootName => 'string')

http://search.cpan.org/dist/XML-Simple/lib/XML/Simple.pm#RootName_=>_'string'_#_out_-_handy

Chris



Message has 1 Reply:
  Re: Request change to ptreleases.cgi
 
(...) Thanks, Chris! I'll add this shortly. Steve (20 years ago, 2-Aug-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: Request change to ptreleases.cgi
 
(...) There's no significance, AFAIK. The Perl module, XML::Simple, wraps the <opt> tag around everything automatically. I scanned the docs, but didn't see how to control it. Steve (20 years ago, 31-Jul-04, to lugnet.cad.dev)

18 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR