[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Re: Re: Namespace and key function issue?

Subject: Re: Re: Re: Re: Namespace and key function issue?
From: russurquhart1@xxxxxxxxxxx
Date: Tue, 12 Oct 2010 17:05:05 -0500 (CDT)
Re: Re: Re: Re:  Namespace and key function issue?
For the bold text span it reported:

<!--
text:style-name=T7
key=
count=1
lookup=
count=1--><Emphasis type="">Bold</Emphasis>

So i guess key and lookup are failing.
I'll try this outside OO.

Thanks,

Russ

Oct 12, 2010 09:50:23 PM, xsl-list@xxxxxxxxxxxxxxxxxxxxxx wrote:

>At 2010-10-12 16:19 -0500, russurquhart1@xxxxxxxxxxx wrote:
>>I can confirm the otherwise is being executed. I added the following:
>>
>>                         
>>                         
>>                                                 
>> 
>>normal
>>                                                         > > @text:style-name)/style:text-properties/@fo:font-weight"/> -->
>>                                                 
>>                                                 
>>                                         
>>                                 
>>                         
>>                 
>>
>>And those elements were created with a normal @type attribute. When 
>>i commented out that line, and substituted the key function on the 
>>next line, i get a "" value for the type attribute.
>
>Okay, I would next try to reproduce the key declaration in a (slow!) 
>XPath address.  Where you have the equivalent of:
>
>  
>   
>     
>   
>   
>  
>
>... change it to the following:
>
>  
>   
>     text:style-name=
>     key=
>     count=
>     lookup=
>     count=
>   
>   
>     
>   
>   
>  
>
>.... and inspect the result to see if that gives you any clues.  I 
>often resort to this kind of exposition to try and figure out what is going 
>on.
>
>Also, remember you can extract the XML from the ODF package and run 
>your stylesheet externally to see if there are any differences in the results.
>
>I hope this helps.
>
>. . . . . . . . . Ken
>
>
>--
>XSLT/XQuery training:   after http://XMLPrague.cz 2011-03-28/04-01
>Vote for your XML training:   http://www.CraneSoftwrights.com/s/i/
>Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
>G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
>Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
>Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.