[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
And Doc 'B' has this:
And I want to create a third xml doc using xslt2.0 that cross references the first part of @name of doc 'B' with the vendor element in doc 'A' and if so, make the claimable att. 'true'. There are some 1300 vendor names in doc 'B' and there are some 100 vendors that begin with 'WF'. So I get this in the third xml.
but I am having problems with the substring function.
-Thanks, KS
[xsl] Problem matching part of a string
Subject: [xsl] Problem matching part of a string From: "Kent Seegmiller" <hookjaw20@xxxxxxxxxxx> Date: Thu, 2 Jun 2005 00:24:03 -0600 |
OK here is my problem: I have 2 source docs. Doc 'A' has this: <vendors> <vendor>DAN MORRISON MEAT PIES</vendor> <vendor>BOISE CASCADE</vendor> <vendor>CANDY TECH INC</vendor> <vendor>WF</vendor> </vendors>
And Doc 'B' has this:
... <vendor name="..."/> <vendor name="..."/> <vendor name="..."/> <vendor name="..."/> ...
And I want to create a third xml doc using xslt2.0 that cross references the first part of @name of doc 'B' with the vendor element in doc 'A' and if so, make the claimable att. 'true'. There are some 1300 vendor names in doc 'B' and there are some 100 vendors that begin with 'WF'. So I get this in the third xml.
... <vendor name="..." claimable="true/false"/> <vendor name="..." claimable="true/false"/> <vendor name="..." claimable="true/false"/> <vendor name="..." claimable="true/false"/> ...
but I am having problems with the substring function.
-Thanks, KS
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl:number and conditiona, Michael Kay | Thread | RE: [xsl] Problem matching part of , Michael Kay |
Re: [xsl] Frustrated with xxx:node-, Karl Stubsjoen | Date | Re: [xsl] Sort Question, omprakash . v |
Month |
Keywords