Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: The anatomy of a XmlPackage, possible to output xml?

  1. #1
    DENT is offline Member
    Join Date
    Mar 2010
    Posts
    42

    Default The anatomy of a XmlPackage, possible to output xml?

    Please tell me if I got these xmlpackages down right.

    1. xml packages are called throughout the codebase
    2. the consit of:
    queries that are all run
    xml transforms that take the results from the query, and output using the data from the query + appconfig + resource string data.

    Is there more to it?


    Is it possible to VIEW the resulting XML from the package for debugging?


    To create your own package, do you need the source code?

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    You can set the XmlPackage.DumpTransform AppConfig to true and the XML output generated by XML packages will be displayed on site pages, and dumped to a temp file in the /images folder (so make sure you have write permissions set).

    It does not require source code to add a new XML Package, but it does make it much easier so you can see what all of the XSLT functions do exactly.