[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

question about filling of nodeset

Subject: question about filling of nodeset
From: "Armand Datema" <armand.datema@xxxxxxxxxxxxxxx>
Date: Thu, 17 Mar 2005 15:55:04 +0100
eastman.com
Hi

I have an xml that consists that has a nr of blocks like below.

Now I have this code

<xsl:variable name="AllKatern">
 <xsl:for-each select="/HowardsHome/Katern">

  <xsl:copy-of select="."/>
 </xsl:for-each>
</xsl:variable>
<xsl:variable name="AllKaternNodes"
select="msxml:node-set($AllKatern)"/>


Here I have a copy of everything but now I want the <title> of each
Article with replaced quotes single double etc. That's not the problem,
but how can I write the result of this back to the nodeset?

Thanks in advance

Armand






----- the xml ------

<Katern>
		<id>808305</id>
		<name>Kunststoffenindustrie</name>
		<display_position>1</display_position>
		<parent_id>810329</parent_id>
		<parent_name>Economie en bedrijf</parent_name>
		<parent_display_position>1</parent_display_position>
		<Article>
			<id>2000082435</id>
			<title>"Eastman material inspires student
designers indevelopment of the Armature Project Exhibition</title>

<url_name>http://www.howardshome.com/C2W/t/goweb.xml?value=2000082435&am
p;uid=76559&amp;usr_id=[usr_id]&amp;pid=808305</url_name>
			<source>Eastman Company</source>
			<source_url>http://www.eastman.com</source_url>
			<create_date>Geplaatst op 14/01/2005
16:05</create_date>
			<summary>"As part drilled, die-punched, bent hot
or cold, or joined by screws, rivets, or bolts. </summary>
			<link_status>1</link_status>
			<create_date_value>2005-01-14
16:05:00</create_date_value>
			<full_text_allowed>0</full_text_allowed>
		</Article>
			<Article>
			<id>2002435</id>
			<title>'Eastman material inspires student
designers indevelopment of the 'Armature Project' Exhibition</title>

<url_name>http://www.howardshome.com/C2W/t/goweb.xml?value=2000082435&am
p;uid=76559&amp;usr_id=[usr_id]&amp;pid=808305</url_name>
			<source>Eastman Company</source>
			<source_url>http://www.eastman.com</source_url>
			<create_date>Geplaatst op 14/01/2005
16:05</create_date>
			<summary>"As, die-punched, bent hot or cold, or
joined by screws, rivets, or bolts. </summary>
			<link_status>1</link_status>
			<create_date_value>2005-01-14
16:05:00</create_date_value>
			<full_text_allowed>0</full_text_allowed>
		</Article>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.