[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Creating elements in an arbitrary position in the result document
Subject: [xsl] Creating elements in an arbitrary position in the result document From: cvergara@xxxxxxxxxxxxxxxxxx Date: Mon, 18 Jan 2010 01:48:42 +0100 |
Hello, using the information in a subtree of a source document, I would like to create an element in an arbitrary position in the result document: Source: <?xml version="1.0"?> <A> ... <- unknown/variable amount of nodes <B> <C attrC="value1"/> <D attrD="value2"/> </B> </A> Result: <A> <new_element attrC="value1" attrD="value2"/> ... <- unknown amount of elements in source between A and B <B> ... Is it possible to do this? I didn't find it in the FAQ of things that are not possible in XSLT. If yes, how? Thanks, Cristobal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Match nodes searching for, Michael Kay | Thread | Re: [xsl] Creating elements in an a, G. Ken Holman |
[xsl] Match nodes searching for att, cvergara | Date | Re: [xsl] Creating elements in an a, G. Ken Holman |
Month |