473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Get the innerxml of a node into a variable

2
I am trying to get the innerxml (children xml) of a node (TITLE_REQUEST) into a variable and pass that variable as a parameter to a method. My method is recieving an empty string.

I am not sure if this is even possible in XSL. Thanks for your help.

Below is the XSL i am using.

<Note>
<xsl:variable name="titleRequest">
<xsl:copy-of select="//TITLE_REQUEST" />
</xsl:variable>
<xsl:variable name="noteText" select="ScriptNS0:GetNoteText($titleRequest)" />
<xsl:value-of disable-output-escaping="yes" select="$noteText" />
</Note>

--------------------------------------------------------------------------------
Dec 7 '06 #1
0 1089

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Philipp Lenssen | last post by:
Why isn't there a way in standard DOM to access all XML of a node? (Similar to what outerHTML and innerHTML can do on Firefox or Internet Explorer when accessing HTML.) Or am I missing something?...
1
by: Peter Nofelt | last post by:
Hey All, I'm running into this issue with parsing through an xml document by tag name. Below is an example xml document: File Name: things.xml <things> <people> <name>Peter</name>
3
by: Bas Jaburg | last post by:
I'm creating a Windows App in C#(Smart Client)that calls a webservice. The webservice returns this: <?xml version="1.0" encoding="utf-8" ?> <table id="klasse" records="4792"> <record...
1
by: Ian Walsh | last post by:
XmlDocument oXmlDoc = new XmlDocument(); oXmlDoc.Load(filename); node = oXmlDoc.SelectSingleNode("//config/ldap/userpath"); Console.Write(node.InnerXml); The value I get is: ...
1
by: ALI-R | last post by:
I am showing the InnerXml of a node (in a treeView Control) in a tooltip ,but it is not formatted well ,all the elements after each other ,is there a way to format the innertext in a tooltip. ...
1
by: bkora | last post by:
I am trying to get the innerxml (children xml) of a node (TITLE_REQUEST) into a variable and pass that variable as a parameter to a method. My method is recieving an empty string. I am not sure...
2
by: =?Utf-8?B?c2VlbWE=?= | last post by:
What is the differnce between outerXML and innerXML.
2
by: Tony Johansson | last post by:
Hello! I know the get property for the XmlElement.InnerXml but how does the set property work. I mean if you have several child elements and you use the set how will this affect all the child...
4
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... I just noticed something that seems counter-intuitive to me. By default an XmlDocument is set with PreserveWhitespace=false. This means that XmlDocument.Load() or .LoadXml() will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.