Subject: [xsl] Access to RowsetSchema attribute From: Gurnandan Kaur <teclioness@xxxxxxxxxxx> Date: Tue, 23 Oct 2001 13:41:24 +0100 (BST) |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Conversion of int to stri, Thomas B. Passin | Thread | Re: [xsl] Access to RowsetSchema at, Oleg Tkachenko |
[xsl] Conversion of int to string, ReemaD | Date | [xsl] maths operations with xslt, Juan Perez |
Month |