[android-developers] Defining custom xml file in eclipse
I have a series of custom xml data files that I need to create. I would like to tell eclipse what its format is so that when I do a CTRL+SPACE, it will give me the possible node or attribute options. Is this possible ? If so, how do I go about this ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Defining custom xml file in eclipse
On Mon, Nov 26, 2012 at 10:55 AM, Simon Giddings mr.s.giddi...@gmail.comwrote: Is this possible ? If so, how do I go about this ? Sounds like your questions are specific to Eclipse and not Android Development. Try the Eclipse docs or an Eclipse-specific group or forum. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Defining custom xml file in eclipse
I thought the xml editor was specific to the Android SDK On Monday, 26 November 2012 20:33:23 UTC+1, TreKing wrote: On Mon, Nov 26, 2012 at 10:55 AM, Simon Giddings mr.s.g...@gmail.comjavascript: wrote: Is this possible ? If so, how do I go about this ? Sounds like your questions are specific to Eclipse and not Android Development. Try the Eclipse docs or an Eclipse-specific group or forum. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Defining custom xml file in eclipse
On Mon, Nov 26, 2012 at 5:55 PM, Simon Giddings mr.s.giddi...@gmail.com wrote: I have a series of custom xml data files that I need to create. I would like to tell eclipse what its format is so that when I do a CTRL+SPACE, it will give me the possible node or attribute options. Is this possible ? If so, how do I go about this ? Yes, it is possible - you just need to write XSD files to describe your formats. Eclipse has (or had) an XSD -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Defining custom xml file in eclipse
On Mon, Nov 26, 2012 at 5:55 PM, Simon Giddings mr.s.giddi...@gmail.com wrote: I have a series of custom xml data files that I need to create. I would like to tell eclipse what its format is so that when I do a CTRL+SPACE, it will give me the possible node or attribute options. Is this possible ? If so, how do I go about this ? Yes, it is possible - you just need to write XSD files to describe your formats. Eclipse has (or had) an XSD editor - I used it a couple of times last year although I don't see it in my current Eclipse installation (I've upgraded since). At any rate, XSDs are like XMLs themselves so any XML editor should do. Once you have your XSD, you just point to it using the xsi:schemaLocation attribute of the toplevel element of your XML. Eclipse then starts to understand your XMLs, it will highlight errors and give you suggestions on ctrl+space. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en