Re: [cfaussie] XML Import not working - can someone see what i've missed please?
It would not be too difficult for you to create a function to do this if you really wanted to implement it. All you would need to do is read the initial XML and "include" the other XML files when you process the individual nodes. But it seems like a lot of work for something that does not really need it. Or you could use ColdSprings built in MapFactory or ListFactory beans, they return a "bean" that is either a struct or an array, this uses ColdSpring to manage the configuration. Those can be imported dynamical by ColdSpring, and they could also be called separate from the entire coldspring.xml. mydsn mydsnadmin /Kevin Pepperman -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] XML Import not working - can someone see what i've missed please?
oh der!!!Thanks Kevin. I have never had occasion to want to do that except with coldspring, so i didn't know it was specific to ColdSpring. Thanks. Sigh. Stay with what i had already, wasted some time trying to make it work. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On Mon, Feb 8, 2010 at 2:04 PM, Kevin Pepperman wrote: > If I recall The import tag is specific to ColdSpring so it will not work in > your own xml files like that. > Actually ColdSpring does not really even "include" them when it uses them, > it just reads the files directly and adds it to the internal structures. > > /Kevin Pepperman > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaus...@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > -- -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] XML Import not working - can someone see what i've missed please?
If I recall The import tag is specific to ColdSpring so it will not work in your own xml files like that. Actually ColdSpring does not really even "include" them when it uses them, it just reads the files directly and adds it to the internal structures. /Kevin Pepperman -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] XML Import not working - can someone see what i've missed please?
I have a XML file with a whole bunch of configuration settings, that i load into my configuration bean.It's worked reliably up to now, but i decided to break the XML file into separate files containing the different kinds of settings, and the import isnt working. Can anyone see the problem please? The original config.xml file (which works ok) is of the following format: Name of this site other global settings .. e:\sites\domains\domain.com\wwwroot http://www.domain.com other path settings mailpassword other miscellaneous settings I had the idea of breaking the globals, paths, and other settings out into 3 separate XML files, to make them easier to manage as the number of settings grew.So i created a global.xml file, and it contains the following: Name of this site other global settings .. (plus similar for the other two parts of the confix.xml file) and replaced that content in the original config.xml file as follows: This technique works fine for my coldspring xml file, but isnt working here. The only difference (i think) is that there is an additional level in this xml setup to the coldspring setup. But can anyone see why this isnt working? -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.