This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Saving entire xml-Structures in a single variable


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@hico.com;  r.huditsch@hico.com
> 
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]