Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Putting xml in attribute

From: "sham" <shamresh@------------------.--->
To: NULL
Date: 5/4/2006 2:21:00 PM

Hi to all,

I have an xml document which has the contents :

<series>
    <dataset id="dataset_1" name="Client - number unplanned">
        <data id="dataset_1_1" value="1"/>
        <data id="dataset_1_2" value="2"/>
        <data id="dataset_1_3" value="3"/>
        <data id="dataset_1_4" value="4"/>
        <data id="dataset_1_5" value="5"/>
        <data id="dataset_1_6" value="6"/>
        <data id="dataset_1_7" value="7"/>
        <data id="dataset_1_8" value="8"/>
        <data id="dataset_1_9" value="9"/>
        <data id="dataset_1_10" value="10"/>
        <data id="dataset_1_11" value="11"/>
        <data id="dataset_1_12" value="12"/>
    </dataset>
</series>

I need to create an XSL document that will be applied to the about XML doc
and give on line as

<Row firstattribute=" <dataset id="dataset_1" name="Client - number 
unplanned"><data id="dataset_1_1" value="1"/>...</dataset>" />

What XSLT or xpath function do I need to extact the above code and insert it 
into an attribute.

Sham.




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent