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

Re: multiple paths in the "use" in key....I'm getting

Subject: Re: multiple paths in the "use" in key....I'm getting desperate -please help
From: Christian CXR Rasmussen <cxr@xxxxxxxxxx>
Date: Fri, 8 Jul 2005 11:12:42 +0200
multiple exclude result prefixes example
Thanx a lot for very constructive input....

I figured out to make a solution based on your previous answer.
 thanks to you I'm gonna keep my deadline :-))

Where do you live? I wanna send some redwine  ;-)



Venlig hilsen
Christian Rasmussen



                                                                                                    
                  David Carlisle                                                                    
                  <davidc@xxxxxxxxx>                                                                
                                                                                                 To 
                  08-07-2005 11:05               xsl-list@xxxxxxxxxxxxxxxxxxxxxx                    
                                                                                                 cc 
                                                                                                    
                    Please respond to                                                       Subject 
                  xsl-list@xxxxxxxxxxxxx         Re:  multiple paths in the "use" in           
                        ytech.com                key....I'm getting             desperate -please   
                                                 help                                               
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    
                                                                                                    





> I thought it would be to complex and confusing.
It was:-)
> Below I have copy'n pasted more...
It's helpful (in future) if you spend some time to make a small 6 line
example input and small stylesheet that only shows the problem you have,
eg you don't need to declare 13 namespaces in a minimal example file.
Often people find that in making a small example they understand the
problem for themselves and don't need to post at all...

  <xsl:stylesheet version="1.1"

Note that there never was (and never will be) a version 1.1 there was an
early draft but it was killed off and the woring roup decided to work on
2.0 instead (whichis also still in draft form)

  xmlns:fo="http://www.w3.org/1999/XSL/Format
  " exclude-result-prefixes="fo">

If you are generating fo output, you don't want to exclude the fo prefix
(and anyway the system will not exclude prefixes that it needs on
oputput elements)


 use="concat(AddressSpecific/MunicipalityCode,':',

That would select AddressSpecific/MunicipalityCode in no-namespace but
all the examples of this element that I see in your source file are
in the namespace
xmlns:cpr="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/"
so I'd guess that you intended to select those elements.

I suspect that you only want to use one key, as I showed in my first
reply, not dozens as you have here, but I dodn't know as you hjaven't
said what transformatyion you are trying to make, or what result you
want to get from your input.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.