If you need the complete published xml, open up the /data/umbraco.config file and have a look at the structure. Also, you can use the xslt visualizer to test the xslt at design time (when editing an xslt file)
@Petr
Snobelt: In case I want to print the whole xml tree of the Content node of Umbraco, what should I put in place of $currentPage in your above suggestion?
If you want to see your whole website, you can just use the solution that Petr provided on the homepage of your site (the root of your site /). Just put the textarea into a random xslt-file on your homepage to see that page, and all of the underlying nodes.
How to print the xml tree of the Content?
I thinks it's useful for me to explore the XSLT macro if I would have the xml-tree of the Content in the form of a text file.
Can we have that in Umbraco?
If you need the complete published xml, open up the /data/umbraco.config file and have a look at the structure. Also, you can use the xslt visualizer to test the xslt at design time (when editing an xslt file)
Hope this helps.
Regards,
/Dirk
Or you can use textarea trick
Of course you can change $currentPage to macro or whatever you want.
Petr
@Petr Snobelt: In case I want to print the whole xml tree of the Content node of Umbraco, what should I put in place of $currentPage in your above suggestion?
You could just open /data/umbraco.config if you want to see the XML :-)
This will work though:
@Nam Gi VU:
If you want to see your whole website, you can just use the solution that Petr provided on the homepage of your site (the root of your site /). Just put the textarea into a random xslt-file on your homepage to see that page, and all of the underlying nodes.
/Kim A
is working on a reply...