[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Re: XSLT Transformation .NET

Subject: RE: Re: XSLT Transformation .NET
From: "Nathan Young -X \(natyoung - Artizen at Cisco\)" <natyoung@xxxxxxxxx>
Date: Mon, 5 Dec 2005 13:27:19 -0800
python xsl transform
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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.