<You Wrote>
Have you tried submitting your xsl file to a xsl mailing list to check for
inefficiency's ?

</You Wrote>

Which Mailing list?

----

http://lists.mulberrytech.com/xsl-list/


>From the story below you might be better of doing something else. 
Like 

Getting the class names when the classes item is clicked

Getting the attribute names when the attributes item is clicked

Then loading the info when something else is clicked. 

You should be able to accomplish this with xpath

These operations are all fairly lightweight and the amount of actual HTML
which is processed is minimal. 

If JS is making it slow this is probably the best solution. 

You could also use a treeview component with postback possibility's for
this. 

----



Maybe I didn't explain my situation correctly.

What happens is if I just use the XSL to do HTML formatting I do not get
much perf hits and everything is quite alright, as soon as I start doing
referencing to the .js file to allow Collapsing and Expanding using a image
to the table it becomes a nightmare to work with.

For some reason the .JS file when included in the XSL (see the download -
the download has all the files needed to diagnose this problem) creates the
perf nightmare. When I remove the JS reference I have a perfectly working
example.

Remembering that I have on average of 200 classes and 1500 attributes I
would need this type of formatting (Collapsing and Expanding. I would also
like to add later a search section to the HTML using js. But for now As soon
as I add any JS is dies.

What I am trying to achieve is that for all the Classes and for all the
Attributes have a collapsible and Expandable option , on top of that the
main Class and the main Attribute section be collapsible and expandable. The
only way to do this that I could see was to use a JS (Java Script file) -
there must be a way to do this as if you open a XML file in IE with not XSL
this type of format is by default applied to the nodes....

The link I provided is a download to my current situation. It will show you
how opening schemadb.xml really sucks. 
It has been scanned by Trend Micro Corporate Office Scan with the latest
Virus Update.
Below is the desired result -- Thank you for your time and your effort I
helping me achieve the desired results. I appreciate it.

+ Classes 
+ Attributes 

- Classes
+ MyClass1
+ MyClass2
+ MyClass3
+ MyClass4
+ MyClass5
+ MyClass6
+ Attributes 

- Classes
- MyClass1
  Some Info1
  Some Info2
  Some Info3
  Some Info4
  Some Info5
+ MyClass2
+ MyClass3
+ MyClass4
+ MyClass5
+ MyClass6
+ Attributes 

+ Classes 
- Attributes 
+ MyAttribute1 
+ MyAttribute2
+ MyAttribute3 
+ MyAttribute4

+ Classes 
- Attributes 
- MyAttribute1 
  Some Info1
  Some Info2
  Some Info3
  Some Info4
  Some Info5
+ MyAttribute2
+ MyAttribute3 
+ MyAttribute4
 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to