Subject: Re: [xsl] Newbie problem: namespace breaks key From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sat, 17 Nov 2007 20:50:12 -0500 |
Is there a reason why <xsl:key> would break when a namespace is added to the source document?
... All well and good. Now, I add a namespace to the input XML, so that the first two lines read: ---- <?xml version="1.0" encoding="UTF-8"?> <FMPDSORESULT xmlns="http://www.filemaker.com/fmpdsoresult"> ---- ...and I make the appropriate changes in my XSLT, adding the prefixes where I reference an element, so that my transformation now looks like this: ---- <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:fm="http://filemaker.com/fmpdsoresult"
-- Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Newbie problem: namespace bre, Robert Carter | Thread | Re: [xsl] Newbie problem: namespace, Robert Carter |
[xsl] Newbie problem: namespace bre, Robert Carter | Date | Re: [xsl] Newbie problem: namespace, Robert Carter |
Month |