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

Re: What is beautiful XML?

  • From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 28 Feb 2018 21:01:33 +0100

Re:  What is beautiful XML?

On 28/02/2018 19:33, Dimitre Novatchev wrote:
Extending a little:

What is a "beautiful XPath expression"?
What you’d regard as beautiful XPath, Dimitre, might be far too concise for other people to comprehend ;)

What is a beautiful XSLT transformation?
Occurrence of xsl:next-match, possibly also with one or more tunneled parameters, often serves as an indicator of an elegant XSLT transformation (and it tells me that the author knows how to virtuously employ XSLT core concepts such as template matching, priority, import precedence, tunneling etc.).

Other “advanced XSLT” indicators merely document good practice. Examples include the “as” attribute for type checking, xsl:for-each-group instead of collecting following nodes and then then desperately trying to suppress duplicating them, or using xsl:sequence instead of xsl:value-of when they want to return an atomic value rather than a text node. But this isn’t beautiful in itself, this is just good practice.

Gerrit


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.