[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Access to RowsetSchema attribute

Subject: Access to RowsetSchema attribute
From: Gurnandan Kaur <teclioness@xxxxxxxxxxx>
Date: Tue, 23 Oct 2001 13:41:24 +0100 (BST)
rowsetschema
Using the following xml fragment, I need to get the
value of rs:dbtype attribute, assuming that the
current context is positioned at the attribute
z:row/@c1. How do I do it? 
<xml
xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns:rs="urn:schemas-microsoft-com:rowset"
xmlns:z="#RowsetSchema">
	<s:Schema id="RowsetSchema">
		<s:ElementType name="row" content="eltOnly"
rs:updatable="true">
			<s:AttributeType name="c0" rs:name="X-AXIS"
rs:number="1" rs:write="true">
				<s:datatype dt:type="string" rs:dbtype="str"
dt:maxLength="64" rs:precision="0"
rs:maybenull="false"/>
			</s:AttributeType>
			<s:AttributeType name="c1" rs:name=" Support Staff"
rs:number="2" rs:write="true">
				<s:datatype dt:type="number" rs:dbtype="currency"
dt:maxLength="8" rs:precision="0"
rs:fixedlength="true" rs:maybenull="false"/>
			</s:AttributeType>
			<s:AttributeType name="c2" rs:name=" Population"
rs:number="3" rs:write="true">
				<s:datatype dt:type="number" rs:dbtype="currency"
dt:maxLength="8" rs:precision="0"
rs:fixedlength="true" rs:maybenull="false"/>
			</s:AttributeType>
			<s:extends type="rs:rowbase"/>
		</s:ElementType>
	</s:Schema>
	<rs:data>
		<z:row c0="1999/00" c1="71.5" c2="282600"/>
		<z:row c0="2000/01" c1="74.5" c2="281486"/>
		<z:row c0="2001/02" c1="0" c2="281096"/>
	</rs:data>
</xml>
Many Thanks
Gurnandan

=====
Cheers!!

Gurnandan

____________________________________________________________
Nokia Game is on again. 
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.