From: Alex B. <en...@tu...> - 2001-09-25 18:39:40
|
hmm... In this case I like attributes, but I see andi and jason's point. There is also (of course) the "it could work right now" thing. So, let's use the SML syntax for the moment (I'll update that file, wherever it is in CVS) _a > Hi All, > > I just realized that we're using simplified XML (SML) throughout the system > (except for the bc:module, bc:href, etc. tags). What do you think of keeping > it simple also with the bc:*-tags? > > -- the attributes way -- > <bc:module id="moo" name="HelloWorld" package="hello_world"> > <cache expires="30" use_uri="true" var="$moo"/> > <params> > <param_name>value</param_name> > <another_param_name>another_value</another_param_name> > </params> > </bc:module> > <bc:href id="href" href="/archive/mp3/any_document.mp3" usedocroot="true" /> > > -- the sml way -- > <bc:module> > <id>moo</id> > <name>HelloWorld</name> > <package>some.package</package> > <cache> > <expires>30</expires> > <use_uri>true</use_uri> > <var>$moo</var> > </cache> > <params> > <param_name>value</param_name> > <another_param_name>another_value</another_param_name> > </params> > </bc:module> > > <bc:href> > <id>href</id> > <href>/archive/mp3/any_document.mp3</href> > <usedocroot>true</usedocroot> > </bc:href> > > I'm kinda unsure. I like both and both is descriptive as well as > standardized ;-) But, in the bcp we use the "simple" format and maybe we > should keep this convetion throughout. > > What are you're thoughts on this? > > :andi > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > https://lists.sourceforge.net/lists/listinfo/binarycloud-dev > |