Browse by Tags

Related Posts

  • Is it possible to apply an XSLT to the XML SiteMap file in place of the .NET menu, tree etc. controls?

    Hello all, I want to load in my .sitemap file and transform the content using XSLT rather than the standard .NET controls. Although I've seen this question asked before, it was never answered. Code in masterpage.master.cs // load site xml XmlDocument siteXML = new XmlDocument(); siteXML.Load(Server...
    Posted to XML and XmlDataSource Control (Forum) by katebp on 06-16-2009, 12:00 AM
    Filed under: sitemap, XSLT
  • Error loading .xml file, but not .sitemap with same code?

    I am trying to load an XML file (with the .sitemap extension) and transform it with an XSLT file (I want to generate the site navigation using XSLT rather than the .NET defaults). To begin I loaded an .sitemap file and attempted to transform it with XSLT - but was unable to get any output, so attempted...
    Posted to Getting Started (Forum) by katebp on 06-15-2009, 12:00 AM
    Filed under: xml, sitemap, XSLT
  • Re: how to filter an XSL page?

    As I don't know at all how your XML looks and what kind of different outputs you want to achieve I will give you an example where I make up some XML input. Let's assume the XML input is as follows: <root> < foo-list > < foo >foo 1</ foo > < foo >foo 2</ foo >...
    Posted to XML and XmlDataSource Control (Forum) by Martin_Honnen on 06-13-2009, 12:00 AM
    Filed under: xslt, xsl:import, stylesheet module
  • Re: Filtering with xsl

    Here is an example stylesheet that copies everything besides 'item' elements where the 'country' element is not 'NL' or 'ES': <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> < xsl:template match= "@* | node...
    Posted to XML and XmlDataSource Control (Forum) by Martin_Honnen on 06-06-2009, 12:00 AM
    Filed under: excluding nodes, identity transformation, xslt
  • Re: Group by option in XSLT Version 1.0

    Here is a sample stylesheet that shows you how to do the grouping using Muenchian grouping with XSLT 1.0: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ebc="https://xx.xxxx.com/test/reports/dtd/psdr.dtd"> < xsl:param name=...
    Posted to XML and XmlDataSource Control (Forum) by Martin_Honnen on 06-05-2009, 12:00 AM
    Filed under: Muenchian grouping, xslt
  • Re: How to generate a Word Document from C# comments

    Even if you are not using SandCastle or some other tool, you can let VS2005 do part of the work for you. Important: make sure you check the XML documentation file check box on the Build tab in your project properties window. You'll get a XML that looks like this: <?xml version="1.0"...
    Posted to Free For All (Forum) by gerrylowry on 06-03-2009, 12:00 AM
    Filed under: XSLT, XML
  • Re: XSl File

    Hi. The xsl and xsd playes different role while transforming an xml to another. We can say the difference is - xsl contains the logic how one xml will be converted to another. xsd defines the format how one xml should be, which will contains the datatype, depth of each node etc., Here xsd is used to...
    Posted to XML and XmlDataSource Control (Forum) by Thirumalai_pm on 05-01-2009, 12:00 AM
    Filed under: XSD, xslt, xml
  • Re: Create an XML file from another XML file

    Hi. Incase you need to transform an XML which is very complex, has more hierarchy levels, you can do the following… 1. Define entity classes for each node and relate one with other. 2. Mark every entity classes with Serializable attribute. 3. Create entity object, and assign the values by reading XML...
    Posted to XML and XmlDataSource Control (Forum) by Thirumalai_pm on 05-01-2009, 12:00 AM
    Filed under: xslt, xml
  • Re: Create an XML file from another XML file

    Hi. You can use the following way also... Create an xsl file: transform.xslt <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl=" http://www.w3.org/1999/XSL/Transform "> <xsl:param name="name"/> <xsl:template...
    Posted to XML and XmlDataSource Control (Forum) by Thirumalai_pm on 05-01-2009, 12:00 AM
    Filed under: xslt, xml
  • Displaying XML data on a page

    Hi all. I'm building a site for a sports team and the fixtures are released from the league site in xml format. ( http://www.southlacrosse.org.uk/rest/fixtures/mens/Purley ) I'm looking to display this xml data on my team's homepage but not sure how to go about it. ie. For Each Fixture: <ul...
    Posted to Getting Started (Forum) by WezMorris on 04-16-2009, 12:00 AM
    Filed under: <asp.net>, xsl xslt xml dynamic, XSLT, XSLT help, xml, XML Read
Page 1 of 7 (68 items) 1 2 3 4 5 Next > ... Last »