XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + Error in Stylus Studio - canno... (2)
-> + Saxon Assign (2)
-> - License Authentication Failed (1)
-> + Stylus Studio 2007 Download (2)
-> + EDI to XML validation (2)
-> + Reports: can't remove "undead"... (3)
-> + Document Wizard Incomplete (6)
-> + Opening xml converter (4)
-> + Node depth limit with MySQL? (5)
-> + Basics (2)
-> - Node depth limit with MySQL? (1)
-> + Creating an XML Schema from a ... (4)
-> - Issue with XSD (1)
-> + XSL-FO and Apache FOP (2)
-> + How Come Stylus Studio Fails T... (6)
-> + no suitable driver (8)
-> + 211,19: no declaration found f... (6)
-> - Validate HEX (1)
-> + Crashing when connected to dat... (3)
-> - Interface with quickbooks (1)
-> - CDATA control (1)
-> + [resolved] Namespace (and pref... (5)
-> - Hiding and Revealing Child Nod... (1)
-> + Cannot see values in Watch whe... (4)
-> - Help with CSV to XML and Regio... (1)
-> + How do I verify "opt=yes" URI ... (4)
-> - Stylus Studio claims xsd is in... (1)
-> + Can a generated XSD be used in... (4)
-> + I am not a developer I'm just ... (2)
-> + Stylus crash when deleting dat... (6)
-> - Preserving Structure (1)
-> - Preserving Structure (1)
-> - HL7 ORU group tags (1)
-> + Fixed Length Record Layout to ... (2)
-> + WebService Connect (6)
-> - WebService conection problems (1)
-> + Could not detect EDI dialect a... (3)
-> + I am a bookkeeper not a progra... (2)
-> + fatal error (4)
-> - Saxon linebreak (1)
-> + task scheduler (2)
-> - Number of Elements in Grid vie... (1)
-> + Compile Java (2)
-> + What happened to the EDI Wizar... (15)
-> + setting Transformer for java b... (3)
-> + XML Schema Documentation Gener... (3)
-> + EANCOM xsd-files (4)
-> + Failure of CDATA converting pr... (4)
-> + XML File created from text fil... (3)
-> + After purchase AND activation ... (2)
-> + XQuery Format of XML code snip... (4)
-> + Error during conversion (9)
-> - testing for empty nodes (1)
-> + edi converter - java fails (10)
-> + ddtek:serialize (3)
-> - File explorer view (1)
-> - Java Extension Functions (1)
-> + err:FODC0004 (18)
-> - Removing Attributes when Null (1)
-> + CDATA preservation (6)
-> + Help converting xml report to ... (2)
-> + Converting text to XML issue (3)
-> - example not working (1)
-> + XML Editing (2)
-> + Multiple EDI messages within s... (5)
-> + Mapping RDBMS and XML Schema t... (2)
-> + MySQL Database importing (2)
-> + XSD validation using XSV fails... (3)
-> + Is this really well-formed? (3)
-> + HL7 EDI to XML problems -'ORU_... (11)
-> + How do I modify the Xquery to ... (2)
-> + XML mapping difficulty (3)
-> + XLST Conversion (2)
-> + HTML TO XSL Conversion (2)
-> - Convert an EBCDIC file to XML (1)
-> + License Manager still indicate... (4)
-> + Still sometimes getting beat b... (2)
-> + What versions of MySQL are sup... (5)
-> - External XSLT processor proble... (1)
-> + DDEE0082 Erro Internal system ... (6)
-> + Calling function from .NET C# (2)
-> + Stylus studio projects bound t... (3)
-> + Report Designer mistakenly gen... (3)
-> + Choose Nodes in pipelines (3)
-> + Custom external processor and ... (2)
-> + predefined (4)
-> + translate function in java (2)
-> + XMLPipeline trouble in Linux (7)
-> + Converting Custom EDI Message ... (2)
-> + tab delimetered file with vari... (2)
-> + XML validation with XSD (2)
-> + Missing documentation: SSL_Cer... (2)
-> + Parse Xcel input file which is... (2)
-> + XML Publisher post processors (2)
-> + Alignment of table items in XM... (2)
-> + XML to PDF using XML Publisher (2)
-> + Blurry Background image / Vect... (4)
-> + URIResolver error on command l... (2)
-> + stylus studio - the (3)
-> + problem with omit from output ... (3)
-- Previous [481-500] [501-520] [521-540] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Valérie SchneiderSubject: Strange "tree time %" for XSLT Profiling
Author: Valérie Schneider
Date: 08 Apr 2005 07:52 AM
Hi,
I have a question on the profiling output.
I am using the "Show call tree of execution times" for XSLT profiling and the Xalan-J processor.

I've got a result that I don't understand, the "tree time %" for the <xsl:template match="/"/>
is 40%.
I thought it should always be about 100%.

Do you have any idea how it is possible ? Can I trust this value ?

Thanks
Valerie

Postnext
Tony LavinioSubject: Strange
Author: Tony Lavinio
Date: 08 Apr 2005 05:47 PM
Originally Posted: 08 Apr 2005 05:01 PM
The first line in the Call Tree should have a "Tree Time %" of 100%. If you do profiling while debugging, that might throw off the timer if you pause and continue. Otherwise, we'd be interested if you could post the XSL and XML that caused this. There is a little attachment checkbox above the field you type in; you can use it to attach the documents. Or, you can email them to stylus-field-report (at) datadirect.com and we'd be happy to take a look and give you an explanation.

Postnext
Valérie SchneiderSubject: Strange
Author: Valérie Schneider
Date: 11 Apr 2005 04:32 AM
I just do profiling, not debugging.

Here are the XSL and the XML.
The stylesheet is word2html.xsl, which transforms WordprocessingML files to HTML.
It's a component of the Microsoft Word 2003 XML Viewer.

Thanks for your help,
Valérie


Unknownword2html.xsl


UnknownITER-AD-FR-TRAD-0687339.xml

Postnext
Tony LavinioSubject: Strange
Author: Tony Lavinio
Date: 12 Apr 2005 11:29 AM
This is a very interesting problem, and not one that can easily be solved - and here's why. The XSLT you have has lots of variable definitions at the top level - outside of any template. Since XSLT is declarative, the implementation defines the order in which steps are executed, and in this case, it appears that Xalan-J (and Saxon and even our internal engine) process those _before_ starting the root template. So the execution times for them aren't under <xsl:template match="/">. It's like a tree with multiple roots. Unfortunately, there isn't much we can do, since we can only report the time as the XSLT engine gives it to us. However, the various times for the individual trees rooted at each xsl:variable are themselves accurate.

Posttop
Valérie SchneiderSubject: Strange
Author: Valérie Schneider
Date: 13 Apr 2005 04:10 AM
I thought it might be because of the top-levels variables.
But this is the only input file that gives such a result.
I do profiling with the same stylesheet and others xml files and the first line in the Call Tree has always a "Tree Time %" of 100%.
If Xalan-J processes top-levels variables before starting the root template, I should see this result fort almost all input files (there is only 6 of the 117 top-levels variables which depend on the source tree, the others are fixed).

Attached another input file, if you're interested.

I will try to obtain the times spent on each top-level variables.

Thanks,
Valérie


UnknownITER-OJ-FR-ORIG-0968199.xml

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.