[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: XSLT Transformation .NET
My understanding is that you're talking about using a generic XML format to represent a generic record format, kind of like this: <csvFile> value1<comma/>value2<comma/>value3<comma/>value4<newLine/> value5<comma/>value6<comma/>value7<comma/>value8<newLine/> value9<comma/>value10<comma/>value11<comma/>value12<newLine/> </csvFile> But seriously, the two objections I care about that recommend against the following XML design: <div class="monty"> <span class="python"/> </div> Are that it's harder to meaningfully validate using DTD or XSD, and that it's using the XHTML document format to hold something that's not really a web page at heart (though there may not be enough context here to illustrate this often complex and posssibly subjective point). The design ---->N > -----Original Message----- > From: Michael Kay [mailto:mike@xxxxxxxxxxxx] > Sent: Sunday, December 04, 2005 12:47 AM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: RE: Re: XSLT Transformation .NET > > > Didn't anyone ever mention in the > > microsoft camp there that xml elements named as field names is a bad > > idea? That it is a much more useful source if the xml elements are > > all named the same? > > Oddly, over on xml-dev people are busy complaining about > formats that do > > <div class="monty"> > <span class="python"/> > </div > > rather than > > <monty><python/></monty> > > Why do you think it's bad to use field names as element names? > > Michael Kay > http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|