Kaynağım örnek XMLXSL bir öğeye dayalı bir değer doldurmak için nasıl 1.0
<QuoteData>
<Components>
<Component ServiceOfferingId="XX" StartDate="07/03/2016" EndDate="12/31/9999" SerialOrderNbr="xx" StopReasonCode="" IsBundle="N">
<ServiceItem ItemType="xx" Type="2072" ModelFeature="24E" ProductId="2072 24E" SerialOrderNbr="xx" Quantity="1" StartDate="07/03/2016" EndDate="12/31/9999" CustomerId="xx" ServiceLevelId="xx"/>
</Component>
<Component ServiceOfferingId="yy" StartDate="07/03/2016" EndDate="12/31/9999" SerialOrderNbr="yy" StopReasonCode="" IsBundle="N">
<ServiceItem ItemType="yy" Type="2072" ModelFeature="24C" ProductId="2072 24C" SerialOrderNbr="yy" Quantity="1" StartDate="07/03/2016" EndDate="12/31/9999" CustomerId="yy" ServiceLevelId="yy"/>
<ServiceItem ItemType="zz" Type="2072" ModelFeature="24E" ProductId="2072 24E" SerialOrderNbr="zz" Quantity="1" StartDate="07/03/2016" EndDate="12/31/9999" CustomerId="zz" ServiceLevelId="zz"/>
</Component>
</Components>
<Descriptions>
<ProductDescription Id="2072 24E" Description="Customer EXPANSION"/>
<ProductDescription Id="2072 24C" Description="Customer CONTROL"/>
</Descriptions>
</QuoteData>
aşağıda gibidir. Yani, yukarıdaki durumda, 3 hat shoule oluşturulabilir. Hedefte, Ürün Tanımını Ürün Kimliği değerine göre doldurabilmem gerekir. Şu anda yapamadığı olduğumu kullanarak XSL 1.0
Beklenen hedef XML aşağıda gibi olmalıdır : Ben hedef açıklamasına doldurmak için farklı fonksiyonları kullanarak çalıştı, ama ben de ilk Açıklaması değerini giriyorum
<Payload>
<Header></Header>
<Line>
<SerialOrderNbr>xx</SerialOrderNbr>
<ModelFeature>24E</ModelFeature>
<ProductId>2072 24E</ProductId>
<ProductDescription>Customer EXPANSION</ProductDescription>
</Line>
<Line>
<SerialOrderNbr>xx</SerialOrderNbr>
<ModelFeature>24C</ModelFeature>
<ProductId>2072 24C</ProductId>
<ProductDescription>Customer CONTROL</ProductDescription>
</Line>
<Line>
<SerialOrderNbr>xx</SerialOrderNbr>
<ModelFeature>24E</ModelFeature>
<ProductId>2072 24E</ProductId>
<ProductDescription>Customer EXPANSION</ProductDescription>
</Line>
</Payload>
tüm satırlar veya hiç değer doldurulmuyor. Bir süre döngü kullanarak gerekli işlevselliği başarabiliyorum ve Jdev 11g'de aktivite atayabiliyorum.
Bunu XSLT'de nasıl yapabilirim? Aşağıdaki stil kullanma
Sorunuzu, şu anda denediğiniz XSLT'yi göstermek için düzenleyebilir misiniz? Teşekkür ederim! –