Subject: Re: [xsl] trying to figure out handling namespace issues From: Fred Christian <fredc@xxxxxxxxxx> Date: Fri, 12 Dec 2008 14:40:47 -0800 |
If solution (2) were available to you it would look like the following:
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xpath-default-namespace="http://www.w3.org/1999/xhtml"> ... <xsl:for-each select="div"> 4)<xsl:value-of select="name(.)"/>#
.... but it would interfere with your match= of the no-namespace elements in your XML file, so this approach is not easily available to you. It is available to you if you declare xpath-default-namespace= in multiple places in your stylesheet, but that gets awkward.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] trying to figure out hand, G. Ken Holman | Thread | Re: [xsl] trying to figure out hand, G. Ken Holman |
RE: [xsl] possible workarounds to p, Michael Kay | Date | Re: [xsl] trying to figure out hand, G. Ken Holman |
Month |