Subject: [xsl] Saving entire xml-Structures in a single variable From: "Roman Huditsch" <r.huditsch@xxxxxxxx> Date: Wed, 11 Jul 2001 13:13:37 +0200 |
Hi there! I'm working currently on a project which relies very much on the new XForms- WD in combination with XSL. There is an element in the XForms-Syntax called "xform:instance", which holds an entire XML-structure. EX.: <xform:instance> <data> <name/> <lastname/> <tel.number/> <birthdate> <day/> <month/> <year/> </birthdate> </data> </xform:instance> Ok, my problem now is that I would like to take this structure between the <instance>- Tags und store it in a variable within my stylesheet. But I can't think of a way to give out the contained element-names. The content of the variable should at the end look like this: $i {<data><name/><lastname/><tel.number/><birthdate><day/><month/><year/></ birthdate></data> } I tried it with a simple <xsl:copy-of select="......"> but this command just gives me the text-content back, which is in that case null. Could you please help me?? Yours, Roman > Roman Huditsch (RH ) > _____________________________________________________________________ > hico Informations- und Kommunikations-Management Gesellschaft m.b.H. > TechLab, Thomas A. Edison Straße 2. > A-7000 Eisenstadt / Austria > phone: +43/2682/704-61-00; fax: +43/2682/704-71-61-10 > e-mail:support@xxxxxxxx; r.huditsch@xxxxxxxx > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XML vs HTML file: (was: Can y, Hewko, Doug | Thread | RE: [xsl] Saving entire xml-Structu, Michael Kay |
[xsl] XML vs HTML file: (was: Can y, Hewko, Doug | Date | RE: [xsl] xsl:sort and xsl:key, Michael Kay |
Month |