Tuesday, March 10, 2009

I often create Xsl stylesheets to make my Xml documents more readable, especially when I’m going to send them to someone else to read. Add the following line, just below the <?xml declaration, using the path to your stylesheet:

XmlStylesheet

This example comes from a data file that we use for testing. The application reads the xml data, but having an Xsl stylesheet makes it easy to read the data for entry into the app for testing.

In this example, we just email the testers a copy of both files and tell them to drag the xml file into Internet Explorer. Of course, you can save the stylesheet on a server and use a fully-qualified url in your <?xml-stylesheet declaration too.

  posted on March 10, 2009 at 07:14 AM by Ed  Permalink     Comments [3]
Related posts:
Customize the Theme for Your SharePoint Site
Use the QueryString to Filter Any SharePoint List View
Auto-Generate Wrapper Classes for Xml Data
How To: Force a DataSheet View to Show in HTML Only Mode
Open a SharePoint Page in Web Part Maintenance Mode
Create an Expandable Question and Answer List Using the Content Query Web Part
Tracked by:
"http://www.google.com/search?q=egpktxrs" (http://www.google.com/search?q=egpktx... [Pingback]
"http://www.offshore.no/linker/details.aspx?id=1877" (http://www.offshore.no/lin... [Pingback]
"http://www.observatoriodoalgarve.com/cna/noticias_ver.asp?noticia=34657" (http:... [Pingback]
"http://www.trirudy.com/region/OE/race/race.cfm?rID=2096" (http://www.trirudy.co... [Pingback]
"http://www.paxchristiusa.org/news_events_more.asp?id=1953" (http://www.paxchris... [Pingback]
"http://www.google.com/search?q=fnwfwpgo" (http://www.google.com/search?q=fnwfwp... [Pingback]
"http://www.norcalprepscores.com/NEW/news_norcal.asp?ArticleID=3884" (http://www... [Pingback]
"http://www.lrsd.org/display.cfm?id=460" (http://www.lrsd.org/display.cfm?id=460... [Pingback]
"http://www.promise.com/support/faq/faq_answer_eng.asp?faq_id=836" (http://www.p... [Pingback]
"http://www.norcalprepscores.com/new/news_norcal.asp?ArticleID=3917" (http://www... [Pingback]
"http://www.google.com/search?q=delgwgal" (http://www.google.com/search?q=delgwg... [Pingback]
"http://www.evergreen.edu/washcenter/eventInfo.asp?eid=508" (http://www.evergree... [Pingback]
"http://www.masu.nodak.edu/about_msu/news.cfm?story=6189" (http://www.masu.nodak... [Pingback]
"http://www.ntid.rit.edu/media/full_text.php?article_id=1154" (http://www.ntid.r... [Pingback]
"http://www.estrellamountain.edu/news/article.asp?articlenum=942" (http://www.es... [Pingback]
"http://agenet.agenet.com/help.asp?id=13071" (http://agenet.agenet.com/help.asp?... [Pingback]
"http://www.estrellamountain.edu/news/article.asp?articlenum=929" (http://www.es... [Pingback]
"http://www.educared.edu.pe/estudiantes/manualidades/detalle.asp?IdManualidad=44... [Pingback]
"http://agenet.agenet.com/help.asp?id=13057" (http://agenet.agenet.com/help.asp?... [Pingback]
"http://www.unsam.edu.ar/infodigital/infodigital.asp?id=2134" (http://www.unsam.... [Pingback]
"http://www.educared.edu.pe/estudiantes/manualidades/detalle.asp?IdManualidad=50... [Pingback]
"http://www.nsca-lift.org/webnews/detlnews.asp?news=1351" (http://www.nsca-lift.... [Pingback]
"http://www.unsam.edu.ar/infodigital/infodigital.asp?id=2150" (http://www.unsam.... [Pingback]
"http://www.google.com/search?q=jzlrcqcu" (http://www.google.com/search?q=jzlrcq... [Pingback]
"http://stores.epier.com/outpostflags/viewitem.asp?id=77568" (http://stores.epie... [Pingback]
"http://www.vitruvius.com.br/livros/livro_desc.asp?Codigo=1643" (http://www.vitr... [Pingback]
"http://www.planalfa.es/NoticiasGeneral/Comun/Plantillas/Listados/AmpliarNoticia... [Pingback]
"http://www.89fm.com.br/promo/?ID=1146" (http://www.89fm.com.br/promo/?ID=1146) [Pingback]
"http://stores.epier.com/outpostflags/viewitem.asp?id=77592" (http://stores.epie... [Pingback]
"http://www.njbiz.com/people.asp?pID=5424" (http://www.njbiz.com/people.asp?pID=... [Pingback]
"http://www.futsalplanet.com/news/news-01.asp?id=12382" (http://www.futsalplanet... [Pingback]
"http://www.google.com/search?q=fvxrirub" (http://www.google.com/search?q=fvxrir... [Pingback]
"http://www.dimac.net/order/store/comersus_viewItem.asp?idProduct=1142" (http://... [Pingback]
"http://www.bwea.com/jobs/job.html?id=823" (http://www.bwea.com/jobs/job.html?id... [Pingback]
"http://www.medianewsgroup.com/JobBank/printpage.asp?intIndex=558" (http://www.m... [Pingback]
"http://dimac.net/order/store/comersus_viewItem.asp?idProduct=1174" (http://dima... [Pingback]
"http://www.bwea.com/jobs/job.html?id=844" (http://www.bwea.com/jobs/job.html?id... [Pingback]
"http://dimac.net/order/store/comersus_viewItem.asp?idProduct=1231" (http://dima... [Pingback]
"http://www.redcross.no/articleprint.asp?ArticleID=319885130" (http://www.redcro... [Pingback]
"http://www.89fm.com.br/promo/?ID=1168" (http://www.89fm.com.br/promo/?ID=1168) [Pingback]
"http://www.ncsconline.org/d_tech/ctb2/view_cs_cont.asp?NCSC_CMS_CONTENT_ID=2586... [Pingback]
"http://www.riliving.com/Utility/NewsDetail.aspx?id=971" (http://www.riliving.co... [Pingback]
"http://dimac.net/order/store/comersus_viewItem.asp?idProduct=1276" (http://dima... [Pingback]
"http://dimac.net/order/store/comersus_viewItem.asp?idProduct=1243" (http://dima... [Pingback]
"http://www.historic-scotland.gov.uk/radiocarbon-dating-detail.htm?CD_ID=4634828... [Pingback]
"http://www.irishabroad.com/yourroots/familynames/SurnameView.asp?id=1792" (http... [Pingback]
"http://www.irishabroad.com/yourroots/familynames/SurnameView.asp?id=1799" (http... [Pingback]
"http://www.89fm.com.br/promo/?ID=1195" (http://www.89fm.com.br/promo/?ID=1195) [Pingback]
"http://www.gods-kingdom-ministries.org/Weblog/WebPosting.cfm?LogID=722223837" (... [Pingback]
"http://www.divadlo.cz/art/rubrika.asp?id=465" (http://www.divadlo.cz/art/rubrik... [Pingback]
"http://www.activant.com/news-and-events/newsletter-archive/newsletter-article.c... [Pingback]
"http://www.kmisetas.com.br/questao.asp?cod=235" (http://www.kmisetas.com.br/que... [Pingback]
"http://www.teatro-real.es/Programaci%C3%B3n/Detalle/?posicion1=803589006" (http... [Pingback]
"http://www.teatro-real.es/Programaci%C3%B3n/Detalle/?posicion1=402878498" (http... [Pingback]
"http://educacao.cardiol.br/boletim/artigo.asp?art=8599" (http://educacao.cardio... [Pingback]
"http://www.activant.com/news-and-events/newsletter-archive/newsletter-article.c... [Pingback]
"http://educacao.cardiol.br/boletim/artigo.asp?art=8593" (http://educacao.cardio... [Pingback]
"http://www.gods-kingdom-ministries.org/Weblog/WebPosting.cfm?LogID=628154376" (... [Pingback]
"http://www.bands.org/Public/TicketMerchandiseMFA/Detail.asp?ProductID=1931" (ht... [Pingback]