From: Andreas A. <a.a...@th...> - 2001-09-25 14:52:50
|
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 |