[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] ID Refs v2


Subject: [xsl] ID Refs v2
From: "Ricardo Saraiva" <rss@xxxxxxxxxxxxxx>
Date: Mon, 19 Jan 2004 17:30:51 -0000

Dear all,
 
I already sent an e-mail asking for a solution for the following
problem, but I wasn't specific enough.
The solution presented to the previous mail works, but doesn't do
exactly what I pretended, and I can't make it work.
 
Here follows a more specific explanation:
 
I have the following XML:
 
 
<y0:Specification_expression id="specification_expression-1"
xmlns:y0="namespace1">
      <id>teste</id>
      <description>teste</description>
      <operation>or_operator</operation>
      <operand>
           <sos ref="sos-1"/>
      </operand>
        <operand>
           <sos ref="sos-2"/>
      </operand>
 </y0:Specification_expression>
  
 <y0:sos id="sos-1" xmlns:y0="namespace1">
  <Specification ref="specification-7"/>
 </y0:sos>
 
<y0:sos id="sos-2" xmlns:y0="namespace1">
  <Specification ref="specification-5"/>
 </y0:sos>
 
 
and I'm trying to obtain the following:
 
 
<prd:Specification_expression id="specification_expression-1"
xmlns:prd="namespace2">
       <id>teste</id>
       <description>teste</description>
       <operation>or_operator</operation>
       <operand>
            <prd:sos>
                 <prd:Specification ref="specification-7"/>
            </prd:sos>
            <prd:sos>
                 <prd:Specification ref="specification-5"/>
            </prd:sos>
       </operand>
 </Specification_expression>
 
 
 
Again thanks in advance,
 
 
Ricardo Saraiva



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread