13.07.2015 Views

Applied XML Programming for Microsoft .NET.pdf - Csbdu.in

Applied XML Programming for Microsoft .NET.pdf - Csbdu.in

Applied XML Programming for Microsoft .NET.pdf - Csbdu.in

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

⋮The style sheet conta<strong>in</strong>s a s<strong>in</strong>gle template that applies to the first node <strong>in</strong> thedocument—that is, the DataSet object's root. Because the match is found us<strong>in</strong>g ageneric XPath expression that selects the first child, the template will work on theDataSet object's root, whatever its name might be.The style sheet can accept one argument (TableName) that defaults to the str<strong>in</strong>g Table.Note that if you omit the XPath str<strong>in</strong>g function, Table denotes a node-set value ratherthan a str<strong>in</strong>g.The <strong>XML</strong> version of an ADO Recordset object consists of two dist<strong>in</strong>ct blocks—schemaand rows—grouped under an node. Here's the code <strong>for</strong> the Recordset schema:RowsetSchemaroweltOnly269

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!