aspose file tools*
The moose likes Android and the fly likes strings.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "strings.xml" Watch "strings.xml" New topic
Author

strings.xml

Sahil Reddy
Ranch Hand

Joined: Jan 24, 2011
Posts: 145
Is there any way of including One XML file contents into another. Similar to #include thing in C Language.

The reason i want to achieve this is the fact that , my strings.xml file is getting bloated and i want to make its fragments so that it could be easily maintainaible.

Regards
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

For the future posts, would you please pick a much more informative subject other than "strings.xml"?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

This might help: http://www.coderanch.com/t/125592/XML/include-xml-file-within-another


JBoss In Action
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Sahil Reddy wrote:Is there any way of including One XML file contents into another. Similar to #include thing in C Language.
The reason i want to achieve this is the fact that , my strings.xml file is getting bloated and i want to make its fragments so that it could be easily maintainaible.


You need not include one xml into another to achieve your goal. You can always create multiple xml files under /values and you can still use @string/xxx


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Sahil Reddy
Ranch Hand

Joined: Jan 24, 2011
Posts: 145
Thanks..... :-) That solved my purpose

 
Don't get me started about those stupid light bulbs.
 
subject: strings.xml