[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Need to override previously copied attributes etc.
Subject: RE: [xsl] Need to override previously copied attributes etc. From: "Taco Fleur \(@DataBroker\)" <taco@xxxxxxxxxxxxx> Date: Mon, 1 Aug 2005 08:56:48 +1000 |
Hi Joris, I will have a look at your email in detail. I am trying to pull together a little group of resources - reliable people who know their stuff well, i.e. people who know about Networking, Java, XML, XSLT etc. this email is just to see if you are interested in becoming one of those resources? We will be paying the people we are using and they can work remotely, there is no gauranteed amount of hours at this stage, just on a ad hoc basis (for XSLT anyway). Do you think you are interested? ________________________________ Taco Fleur - E-commerce Development Manager Shelco Searches & Services An Authorised ASIC Information Broker www.shelco.com.au Ph: + 61 7 3236 2605 -----Original Message----- From: Joris Gillis [mailto:roac@xxxxxxxxxx] Sent: Friday, 29 July 2005 6:15 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Need to override previously copied attributes etc. Hi again, Tempore 01:24:08, die 07/29/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Taco Fleur (@DataBroker) <taco@xxxxxxxxxxxxx>: > When I run that as is, Well, in order to test on my system, I used: <xsl:variable name="fieldCollection" select="document('fieldcollection.xml')/root"/> You need to change that uri back to the original of course. > I do not get the desired result, Which processor are you using? My code worked with Saxon and AltovaXSLT. > also I don't know what to do with > -identity-reference- and -identity-reference-name- if anything? They are lists of attribute's names, attributes that must not be copied. The 'identity' attribute is already present in your input XML, no need to copy it. No 'reference' attribute appeared in your desired output, so I thought it should be excluded as well. After the principal field is found in the variable, the 'name' attribute is copied, but not anymore from referenced fields. Otherwise the ouput would contain: name="bit" instead of name="principalPlace" > It basically just copied everything over from the passed in file, but > it did not look to see if an element should get its attributes/nodes > from a referenced element. It does with me. Up to an arbitrary level. THis is a part of the ouput: <field identity="5AB5F3AD-D9DD-713A-D582F669F41CFAA8" required="true" display="Is Principal Place of Business" name="principalPlace" valid="01" type="boolean"> <option value="0"/> <option value="1"/> </field> I hope you can make it work this time. kind regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) Vincit omnia simplicitas Keep it simple
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Need to override previous, Joris Gillis | Thread | RE: [xsl] Need to override previous, Taco Fleur \(@DataBr |
Re: [xsl] XSL-FO - Region-Body over, G. Ken Holman | Date | RE: [xsl] Need to override previous, Taco Fleur \(@DataBr |
Month |