Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 23rd, 2008, 08:18 AM
Authorized User
 
Join Date: Jul 2006
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Default XSLT design

Hello everyone,

I'm currenly writing documentation on a XSL transformation I've developed, which transforms an input XML file into another XML file but with different structure.
Can anyone give me advice on which is the best way to show the design of my XSLT.
I'm for looking something "equivalent" to class diagrams in a object oriented programming language.
Is there any tool or standard diagram I can use.
My transformation is quite big but I dont want to lose time in talking about low-level aspects.

Thanks in advance.

Best regards,

Tomi.

 
Old January 23rd, 2008, 08:38 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

I wish I could help! It's not easy.

I think the golden rule is that if the code is clear and well-written then there will be much less need for documentation. One aspect of this is to split the transformation into small and comprehensible units, and run them in a pipeline. Part of the documentation (as well as a regression test aid) is then an annotated schema for every intermediate document that passes from one transformation to the next down the pipeline.

You can then get the sitation where the pipeline itself is quite complex, and where you need a top-level system description that explains what each of the steps in the pipeline do. But if you've coded it well, the individual stylesheets should be fairly self-explanatory.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
General XSLT Questions in the XSLT Forum jminatel BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition ISBN: 978-0-470-19274-0 0 March 31st, 2008 07:50 PM
Can XSLT read DTD/schema and Generate XSLT.. ROCXY XSLT 1 November 6th, 2006 09:39 AM
dynamic xslt -> xslt creation namespace problem jkmyoung XSLT 2 July 15th, 2006 12:42 AM
Design patterns for web design ceadge HTML Code Clinic 0 June 19th, 2006 11:26 AM
Java Design issue with UML and Design Patterns the_logical_way Apache Tomcat 0 May 31st, 2004 04:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.