Subject: [xsl] question about filling of nodeset From: "Armand Datema" <armand.datema@xxxxxxxxxxxxxxx> Date: Thu, 17 Mar 2005 15:55:04 +0100 |
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&usr_id=[usr_id]&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&usr_id=[usr_id]&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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Recursive?, Sven Waibel | Thread | Re: [xsl] question about filling of, David Carlisle |
Re: [xsl] Error in XPath expression, António Mota | Date | RE: [xsl] Recursive?, Michael Kay |
Month |