[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Saving entire xml-Structures in a single variable
> <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. <xsl:variable name="xf" select="//xform:instance/*"/> <xsl:copy-of select="$xf"/> should work fine. Mike Kay Software AG > 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. > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|