• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: editing XML files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: editing XML files


  • Subject: Re: editing XML files
  • From: David Ewing <email@hidden>
  • Date: Tue, 27 Jan 2004 11:51:46 -0700

If your file really is XML, it should start with "<?xml", and Xcode will automatically treat it as XML. You shouldn't need to add a new file type (but it's still OK if you do).

Dave

On Jan 26, 2004, at 3:48 PM, Scott Tooker wrote:

You can add your own file type information for Xcode to use in a
.pbfilespec file. Just drop the file in ~/Library/Application
Support/Apple/Developer Tools/Specifications. You can look at
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/
Standard file types.pbfilespec to see more examples.

In your case, you might have a file named otherxml.pbfilespec that
contains:

(
	{
		Identifier = text.plist.xml.other;
		BasedOn = text.plist.xml;
     	Extensions = (wml);
	},
)

Scott

On Jan 17, 2004, at 1:14 PM, Garrett Smith wrote:

Is there a way to tell xcode that a parcticular file extension should
be edited as XML? E.g. WML, etc. -- it would be nice to see the syntax
coloring.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >editing XML files (From: Garrett Smith <email@hidden>)
 >Re: editing XML files (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: printing from xcode
  • Next by Date: Re: Debugging a privileged process
  • Previous by thread: Re: editing XML files
  • Next by thread: RE: editing XML files
  • Index(es):
    • Date
    • Thread