Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 1st, 2006, 03:08 PM
Authorized User
 
Join Date: Jun 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default read nested xml into a dataset

I have an xml file with nested nodes - i want to populate a dataset with those rows from the .xml file which have roleid=124
use of .xsl or .xslt is not allowed.

<?xml version="1.0" encoding="utf-8"?>
    <reports>
        <report>
            <group>Administration</group>
            <reportname>Portfolio Summary Reports</reportname>
            <roles>
                <roleid>129</roleid>
                <roleid>124</roleid>
            </roles>
        </report>

        <report>
            <group>Finance</group>
            <reportname>General Ledger Reports</reportname>
            <roles>
                <roleid>129</roleid>
            </roles>
        </report>

        <report>
            <group>Support</group>
            <reportname>Legal Entity Reports</reportname>
            <roles>
                <roleid>124</roleid>
            </roles>
        </report>
        <report>
            <group>Market</group>
            <reportname>Market Summary Reports</reportname>
            <roles>
                <roleid>124</roleid>
                <roleid>130</roleid>
            </roles>
        </report>
    </reports>

    thanks a lot for your help






Similar Threads
Thread Thread Starter Forum Replies Last Post
Flat XML to nested IgorK XSLT 10 November 24th, 2008 09:56 AM
Read XML to DataSet with XPath? striker9 ASP.NET 2.0 Basics 1 July 25th, 2006 03:30 AM
DTS Package, XML task. Read XML file and store it Victoria SQL Server DTS 0 July 24th, 2006 02:43 PM
XSLT read through XML to transform another XML dendenx2 XSLT 8 July 7th, 2005 08:18 PM
code to read in Access tables to a dataset - hlp! ruairi ADO.NET 4 February 12th, 2005 06:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.