Results 1 to 4 of 4

Thread: ASP.NET and XML Questions

  1. #1
    Join Date
    May 2003

    ASP.NET and XML Questions

    First, there the tech info:
    Current Setup: ASP 3.0, JScript, JavaScript, VBScript, SQL Server 2k
    Future Setup: ASP.NET, VB.NET, JavaScript, SQL Server 2k, XML, XSLT

    I'm a complete newbie to ASP.NET, XML, VB.NET, and XSLT, but this is basically what my boss wants me to do:
    1) ASP.NET w/VB.NET scripting - to format and display data
    2) XML - for pure data
    3) XSLT - for browser stylesheets
    Our hope is to have our entire site be downloadable for users in different formats no matter what browser they use. But I have a few questions about this new setup:
    1) I realize that XSLT is an important step in accomplishing this, but couldn't I accomplish this by using just a regular ASP.NET page to pull in the data and display it by itself, instead of adding a 2nd step of an XML page for data?
    2) Wouldn't an ASP.NET page and an XML page accomplish the same thing?
    3) Is there a way to use ASP.NET and XSLT together without the additional step of using XML?

    I'm really hoping that someone can clear this up for me, because I'm getting somewhat confused why I should use both ASP.NET and XML vs. just using ASP.NET. I hope to hear from someone soon. Thanks.
    It's the end of the world as we know it...and I feel fine

  2. #2
    Join Date
    Nov 2003
    If you use XML to hold the data, it's easier for people to use the data, as opposed to digging it out of HTML. XSLT will handle the presentation of the data, without any need to alter the underlying format of the data.

    If I understand how it works correctly, content is provided as XML. If the consumer is a browser, it uses the style sheet in presenting the data. Other consumers can work with the data without being burdened with any stylistic fluff getting between them and the data.

    ASP.NET can spew any form of data (that can be represented in binary, of course) back to the requester: XML; HTML; plaintext; grapics; whatever... It doesn't matter to it what you want to send.

    If the pages are data centric, then it makes very good sense to use XML, as it makes the data more accessible. If, on the other hand, the pages contain an assortment of stuff that is unlikely to be processed by anything other than the human mind, then the case for XML isn't as compelling.

    The two primary tasks you'd face would be: retrieving the data as XML and creating the style sheet to present the data as desired. I don't know how much or little a PITA developing the style sheets would present, but generating the XML will (eventually, at least) be a piece of cake.

  3. #3
    Join Date
    May 2003
    Hello CardboardHammer,

    Thanks for the quick and thorough advice. I've been reviewing how to pull in data into an ASP.NET page, and it does seem A LOT simpler to just use pure XML data within the ASP.NET page with XSLT stylesheets. Your synopsis is right on, and I greatly appreciate it!
    It's the end of the world as we know it...and I feel fine

  4. #4
    Join Date
    Nov 2003
    You're welcome. Glad to be of help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.32947 seconds
  • Memory Usage 2,854KB
  • Queries Executed 13 (?)
More Information
Template Usage (32):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (4)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • bbcode_parse_start
  • postbit_imicons
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates