Re: [cfaussie] XML Import not working - can someone see what i've missed please?

2010-02-07 Thread Kevin Pepperman
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.



Re: [cfaussie] XML Import not working - can someone see what i've missed please?

2010-02-07 Thread Mike Kear
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 chorno...@gmail.com 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?

2010-02-07 Thread Kevin Pepperman
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 import 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.

beans
bean id=config class=coldspring.beans.factory.config.MapFactoryBean
 property name=SourceMap
map
  entry key=dsn
 valuemydsn/value
  /entry
  entry key=dsnAdmin
 valuemydsnadmin/value
  /entry
 /map
 /property
/bean
/beans


/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.