Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Niels Bosma 2 posts 22 karma points
    Oct 28, 2009 @ 22:59
    Niels Bosma
    0

    Anyway to get XML output?

    Is there anyway to view the full xml of currentPage. An even greated feature would be try differtent XPATH queries interactively with such an output?

  • dandrayne 1138 posts 2262 karma points
    Oct 28, 2009 @ 23:45
    dandrayne
    2
    <textarea rows="20" cols="40"><xsl:copy-of select="$currentPage" /></textarea>

    Might do what you need

    Dan

    (hat-tip to chris for the textarea tip)

  • Vanja Tesin 30 posts 55 karma points
    Oct 29, 2009 @ 00:28
    Vanja Tesin
    1

    You can always open up umbraco.config in data folder of your umbraco installation. This is the actual XML input for any XSLT file you create in your Developer section.

    Of course you could load it say XML Spy and try out different XPATH queries on it.

  • Niels Bosma 8 posts 29 karma points
    Nov 27, 2009 @ 07:06
    Niels Bosma
    0

    @dandrayne: Thanks for an awsome tip!

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Nov 27, 2009 @ 09:43
    Chriztian Steinmeier
    0

    Hi Niels,

    I created the package XML Dump (just published yesterday) for this purpose - XPath is not implemented (yet?) but you can grab a node by its id, or you can grab a bunch of nodes based on their nodeTypeAlias. You can also see all pages that have the 'umbracoNaviHide' property (if defined) checked.

    /Chriztian

     

Please Sign in or register to post replies

Write your reply to:

Draft