Contents tagged with code

  • How do I get around the "The same table (xxxx) cannot be the child table in two nested relations" error?

    I bet this is a schoolboy problem but even the mighty google is not helping. I am trying to read chunks of DMOZ RDF xml into a dataset.

    I am getting a "The same table (xxxx) cannot be the child table in two nested relations." error which I think I can sort out by doing a XSL transform .. which is where I am stuck.

    What I am doing is

           Dim DS As DataSet = New DataSet
           DS.ReadXml(MapPath("xml/" + Request("x") + ".xml"))
           DataGrid1.DataSource = DS.Tables("externallinks")
           DataGrid1.DataBind()
           DS = Nothing

    How do I wedge in a transform to take out the offending relation before I do the ReadXml statement?

    The XSL examples I see online either output to a file or use methods that VS is telling me is obselete :O(

  • Accessibility Champions fail their own tests

    "DRC, the Royal National Institute for the Blind (RNIB) and the Royal National Institute for the Deaf (RNID), the supposed standard bearers for website accessibility, continue to fail even the most basic A/AA requirements"

  • Cheap UK Internet Magazines Subscriptions

    Don't you just love ASP and .NET? Because of Google Adwords recent TOS changes I have had to rapidly set up a site for my magazines campaign, thanks to these lovely web platforms I have been able to do this in double-quick time. I had scraped the merchants site and used regex to grab the content days before the official feed. Another campaigns feed is so limited I am going to use the same code and tweak to produce my other site. I know this could be done in PHP but I think the OS crowd would be hard pressed to produce a tool as productive as VS.NET :O)

  • Browscaps, ASP.NET Browser detection

    Just lately I have had a nightmare with server-side browser detection. One day all designers will do standards compliant html code and all browsers will support standards. Until then we are stuck with detects, I like to do my detects server side but am hindered - HINDERED I tell you! I am not going to get into why I hate browserhawk, just let's leave it as browserhawk is not an option.