Subject: Re: [xsl] Question about isolating records From: "G. Ken Holman g.ken.holman@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 6 Sep 2015 12:44:31 -0000 |
I got to work with one small change to your suggested code:
<xsl:attribute name="pdf-number" select="substring-before(key('pdf-key', ., doc('test-xml.xml')), 'Crawford')"/>
<xsl:attribute name="pdf-number" select="key('pdf-key',.,doc('test-xml.xml))/PDF"/>
My major misunderstanding was of the <xsl:key/> statement, not realizing that is was not a 'variable to be loaded when called' and that the key() function later would parse the data in FILE2.
Also, thanks for reopening the book for me.
-- Check our site for free XML, XSLT, XSL-FO and UBL developer resources | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/video.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: http://plus.google.com/+GKenHolman-Crane/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
--- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Question about isolating , G. Ken Holman g.ken. | Thread | Re: [xsl] Question about isolating , Mark Wilson pubs@xxx |
Re: [xsl] Question about isolating , Mark Wilson pubs@xxx | Date | Re: [xsl] Question about isolating , G. Ken Holman g.ken. |
Month |