close all XML nodes by defualt
-
is there any way or properties that set closed all nodes of an XML file by default? when you open an xml file, it is like as below -[root] -[child] [msg]text1[/msg] -[child] [msg]text1[/msg] -[child] [msg]text1[/msg] [/root] and what i need is the below -[root] +[child] +[child] +[child] [/root] thank you
-
is there any way or properties that set closed all nodes of an XML file by default? when you open an xml file, it is like as below -[root] -[child] [msg]text1[/msg] -[child] [msg]text1[/msg] -[child] [msg]text1[/msg] [/root] and what i need is the below -[root] +[child] +[child] +[child] [/root] thank you
When Internet Explorer displays an XML file, it is uses its default XSLT stylesheet: http://www.perfectxml.com/articles/xml/XSLTInMSXML.asp[^] Here is some information on modifying the default stylesheet: http://www.biglist.com/lists/xsl-list/archives/200202/msg00895.html[^]
"We make a living by what we get, we make a life by what we give." --Winston Churchill
-
When Internet Explorer displays an XML file, it is uses its default XSLT stylesheet: http://www.perfectxml.com/articles/xml/XSLTInMSXML.asp[^] Here is some information on modifying the default stylesheet: http://www.biglist.com/lists/xsl-list/archives/200202/msg00895.html[^]
"We make a living by what we get, we make a life by what we give." --Winston Churchill
-
thank you george, but how can i set advanced xslt to my xml file that installed in my customers computer? i create an xml file in c#.net by coding.
You add the following stylesheet processing instruction to your XML document:
<?xml-stylesheet type="text/xsl" href="stylesheet.xsl"?>
and you need to install the referenced XSLT stylesheet so that your XML document can find it."We make a living by what we get, we make a life by what we give." --Winston Churchill
-
You add the following stylesheet processing instruction to your XML document:
<?xml-stylesheet type="text/xsl" href="stylesheet.xsl"?>
and you need to install the referenced XSLT stylesheet so that your XML document can find it."We make a living by what we get, we make a life by what we give." --Winston Churchill
-
The default IE XSLT template actually turns the XML into HTML. Thus the opening anc closing of nodes is controlled by Javascript and/or Cascading Stylesheets (CSS). So, you need to look for DHTML code that displays Tree nodes and you develop a XSLT sheet to transform your XML code. A good place to start would be the default IE XSLT template.
"We make a living by what we get, we make a life by what we give." --Winston Churchill