Dominic Watson wrote:
> Hi Ian,
>
> This line creates a default namespace for the xml which may be your problem:
>   
>> <html xmlns="http://www.w3.org/1999/xhtml";>
>>     


Yes, I did discover that this was a name space issue.


> To match any node in an xml document with a default namespace, you
> will need to add the default namespace to your xpath which is just a
> colon:
>
> <xsl:value-of select="//:option" />
>
> HTH
>   

I tried this solution and I get this error:


  javax.xml.transform.TransformerConfigurationException:
  javax.xml.transform.TransformerException:
  javax.xml.transform.TransformerException: Prefix must resolve to a
  namespace:

But adding a another name space parameter to my xsl seems to work well.

<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml";>
....
        <xsl:for-each select="//xhtml:option">

As I asked in my other post.  How does one make use of multiple name 
spaces like this in the ColdFusion xml functions such as xmlSearch?




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305163
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to