Subject: [xsl] multiple paths in the "use" in key....I'm getting desperate - please help From: Christian CXR Rasmussen <cxr@xxxxxxxxxx> Date: Thu, 7 Jul 2005 23:52:01 +0200 |
Im getting desperate: I've been fighting this problem for 10 hours now.... And I'm sure the solution is quite simple. I want to take the address codes in AddressSpecific: (municipalitycode, streetcode, streetbuildingIdentifier) and look them up in the XIaddressSpecific element AND RETURN THE CORRECT XIaddressSpecificLabelStructure How do I do that? I have been trying using keys, with multiple paths in the "use": <xsl:key name="ForwardingAddressPostCodeIdentifier" match="PostCodeIdentifier" use=" ../../AddressSpecific/cpr:MunicipalityCode and ../../AddressSpecific/cpr:StreetCode and ../../AddressSpecific/StreetBuildingIdentifier" /> <xsl:key name="ForwardingAddressDistrictName" match="DistrictName" use=" ../../AddressSpecific/cpr:MunicipalityCode and ../../AddressSpecific/cpr:StreetCode and ../../AddressSpecific/dkcc2:StreetBuildingIdentifier" /> <xsl:key name="ForwardingAddressFloorIdentifier" match="FloorIdentifier" use=" ../../AddressSpecific/cpr:MunicipalityCode and ../../AddressSpecific/cpr:StreetCode and ../../AddressSpecific/StreetBuildingIdentifier"/> <xsl:key name="ForwardingAddressSuiteIdentifier" match="SuiteIdentifier" use=" ../../AddressSpecific/cpr:MunicipalityCode and ../../AddressSpecific/cpr:StreetCode and ../../AddressSpecific/StreetBuildingIdentifier"/> but the "and" between the paths in the "use" doesn't seem to work. PLEASE HELP ME! I'm going soon nuts on beforehand thanx <ForwardingAddressStructure> <AddressSpecific> <MunicipalityCode>0840</MunicipalityCode> <StreetCode>3270</StreetCode> <StreetBuildingIdentifier>135</StreetBuildingIdentifi er> </AddressSpecific> </ForwardingAddressStructure> <XIaddressCollection> <XIaddressStructure> <xkom:AddressSpecific> <MunicipalityCode>0750</MunicipalityCode> <StreetCode>3270</StreetCode> <StreetBuildingIdentifier>256</StreetBuildingIdentifier> <FloorIdentifier>3</FloorIdentifier> <SuiteIdentifier>MF</SuiteIdentifier> </AddressSpecific> <XIaddressSpecificLabelStructure> <StreetName>paradisfblevej 5</StreetName> <PostCodeIdentifier>9999</PostCodeIdentifier> <DistrictName>skagen</DistrictName> </XIaddressSpecificLabelStructure> </XIaddressStructure> <XIaddressStructure> <AddressSpecific> <MunicipalityCode>0840</MunicipalityCode> <StreetCode>3270</StreetCode> <StreetBuildingIdentifier>135</StreetBuildingIdentifier> <FloorIdentifier>2</FloorIdentifier> <SuiteIdentifier>TV</SuiteIdentifier> </xkom:AddressSpecific> <XIaddressSpecificLabelStructure> <StreetName>Danmarksgade 20</StreetName> <PostCodeIdentifier>9000</PostCodeIdentifier> <DistrictName>aalborg</DistrictName> </XIaddressSpecificLabelStructure> </XIaddressStructure> </XIaddressCollection> /Best regards, Christian
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: FW: [xsl]Add comment from xml s, Jon Gorman | Thread | Re: [xsl] multiple paths in the "us, Wendell Piez |
[xsl] RE: Saxon versus Xalan implem, Andrzej Taramina | Date | Re: [xsl] multiple paths in the "us, Wendell Piez |
Month |