Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


xslt / x-path problem

From: "Bart" <orion_@-------.-->
To: NULL
Date: 9/4/2005 11:45:00 AM
I'm trying to transform an xml file to another xml file by using xslt.
for every child node, i need to do some transformations, except for the 
first one, so I can't use a for-each construction.
Does anyone now the correct x-path expression or another way to work around 
this problem?
You can find an example of the xml file below
I also have another question, can give pass an argument to an xslt script?

tia
Bart


<root>
    <child>
        <!--some tags-->
    </child>
    <child>
        <a></a>
    </child>
    <child>
        <a></a>
    </child>
    <child>
        <a></a>
    </child>
    ..... 




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