Subject: RE: [xsl] xml to xml transformation From: "Michael Kay" <mhk@xxxxxxxxx> Date: Tue, 29 Apr 2003 07:41:36 +0100 |
> I need to do a minor transformation of large documents > scheduled daily where > the result will be the same as the original except one > repeating element is > transformed. What is the best way to transform just these > elements while > leaving the rest of the document the same? (I'm an xslt > newbie by the way) > Is xslt appropriate performance wise? How can one possibly answer that question without knowing what your performance requirements are, and what size the documents are? Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > > Also, I haven't been able to get the transformation right. I > need to take > the value of an attribute and make it the element name as follows: > > Transform: > <customFieldValue name="cust_1">Custom Field Value > 1</customFieldValue> <customFieldValue name="cust_2">Custom > Field Value 2</customFieldValue> > > To: > <cust_1>Custom Field Value 1</cust_1> > <cust_2>Custom Field Value 2</cust_2> > > Thanks, > > Steve > > > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xml to xml transformation, Jarkko . Moilanen | Thread | [xsl] saxon, Elke Naraschewski |
RE: [xsl] Editing URLs, Michael Kay | Date | Re: [xsl] Thinking in XPath, Simon Kelly |
Month |