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

Re: Re: Namespace and key function issue?

Subject: Re: Re: Namespace and key function issue?
From: russurquhart1@xxxxxxxxxxx
Date: Tue, 12 Oct 2010 15:55:12 -0500 (CDT)
Re: Re:  Namespace and key function issue?
Hi Ken,

I double checked and i am running the latest in my open office, but don't get the key to match.

The xsl i supplied, is MUCH simpler than what i am running, but the text:span template is identical.

I'll look at this some more.

Thanks,

Russ



Oct 12, 2010 08:36:49 PM, xsl-list@xxxxxxxxxxxxxxxxxxxxxx wrote:

>At 2010-10-12 15:22 -0500, russurquhart1@xxxxxxxxxxx wrote:
>>I have a problem, that i believe is related to namespaces, but as 
>>those are still pretty new to me, i can't figure this out.
>>
>>I have an open office xml document of the following:
>>...
>>My stylesheet, which is based on the open office docbook export xsl, 
>>is of the following form:
>>...
>>However, when i run this, inside of open office, the test fails. In 
>>tests, where i've run the code, without a test, nothing is returned.
>
>I ran your test outside of OpenOffice and it works fine ... transcript below.
>
>Can you review your output evidence and then confirm all of the 
>updates to your XML filters were done correctly?
>
>I hope this helps.
>
>. . . . . . . . . . Ken
>
>p.s. is there a reason you used  instead of just the 
>literal result element ?  You've already 
>gone 
>to the effort of pruning your operation tree of the stylesheet's 
>namespace nodes related to OpenOffice.
>
>~/t/ftemp $ cat russ.xml
>
>http://openoffice.org/2000/text"
>xmlns:office="http://openoffice.org/2000/office"
>xmlns:style="http://openoffice.org/2000/style"
>xmlns:fo="http://www.w3.org/1999/XSL/Format"
> >...
>...
>
>   
>
>
>   
>   style:font-weight-asian="bold" style:font-weight-complex="bold" 
>/>
>
>...
>
>
>...
>
>   Legend(norm): V
>   sub
>   Bold
>   V
>   Italic
>   V
>   sub-bold
>
>...
>
>
>~/t/ftemp $ cat russ.xsl
>http://openoffice.org/2000/style"
>xmlns:text="http://openoffice.org/2000/text"
>xmlns:office="http://openoffice.org/2000/office"
>xmlns:table="http://openoffice.org/2000/table"
>xmlns:draw="http://openoffice.org/2000/drawing"
>xmlns:fo="http://www.w3.org/1999/XSL/Format"
>xmlns:xlink="http://www.w3.org/1999/xlink"
>xmlns:dc="http://purl.org/dc/elements/1.1/"
>xmlns:meta="http://openoffice.org/2000/meta"
>xmlns:number="http://openoffice.org/2000/datastyle"
>xmlns:svg="http://www.w3.org/2000/svg"
>xmlns:chart="http://openoffice.org/2000/chart"
>xmlns:dr3d="http://openoffice.org/2000/dr3d"
>xmlns:math="http://www.w3.org/1998/Math/MathML"
>xmlns:form="http://openoffice.org/2000/form"
>xmlns:script="http://openoffice.org/2000/script"
>xmlns:config="http://openoffice.org/2001/config" office:class="text"
>xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>exclude-result-prefixes="office meta table number dc fo xlink chart 
>math script xsl draw svg dr3d form config text style">
>
>   
>
>version="1.0"
>   encoding="UTF-8" doctype-public="-//OASIS//DTD DocBook XML 
>V4.1.2//EN"
>   doctype-system="
>target="_blank">http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" />
>
>     the style:name attribute. -->
>   
>use="@style:name" />
>   
>   
>     
>       
>
>         
>           
>             bold
>           
>           
>         
>       
>       
>         
>       
>     
>   
>
>
>   
>
>
>
>~/t/ftemp $ xslt russ.xml russ.xsl
>Legend(norm): 
>Vsub
>
>   PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
>"
>target="_blank">http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
>BoldVItalicVsub-bold~/t/ftemp 
>$
>~/t/ftemp $
>
>
>--
>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.