473,473 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

load xml in value

Hi,

I'm a newbie and have a question:

I have following PivotTable object in a HTML page

<html>
<body>
<object class='ptdrillthrough'
classid="clsid:0002E552-0000-0000-C000-000000000046" id="pt">
<param name="XMLData" value="&lt;xml
xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot;&gt;
&lt;x:PivotTable&gt;
&lt;x:OWCVersion&gt;10.0.0.4109 &lt;/x:OWCVersion&gt;
&lt;x:DisplayScreenTips/&gt;
&lt;x:NoAllowCustomOrdering/&gt;
&lt;x:CubeProvider&gt;msolap.2&lt;/x:CubeProvider&gt;
&lt;x:CacheDetails/&gt;
&lt;x:ConnectionString&gt;Provider=MSOLAP.2;Dat a
Source=http://intranet.viatecla.pt/demo;Initial Catalog=MSP_Vision;Client
Cache Size=25;Auto Synch Period=10000&lt;/x:ConnectionString&gt;
&lt;x:DataMember&gt;VT_Work&lt;/x:DataMember&gt;
&lt;x:PivotView&gt;
&lt;x:IsNotFiltered/&gt;
&lt;x:Label&gt;
&lt;x:Caption&gt;ViaTecla MSP- Work Analyzer&lt;/x:Caption&gt;
&lt;/x:Label&gt;
&lt;/x:PivotView&gt;
&lt;/x:PivotTable&gt;
&lt;/xml&gt;">
</object>
</body>
</html>

I want to dinamically load the value content (which is a xml document) into
the param tag.
I have a small web service that generates the relevant xml document.
I'm trying to create a xsl stylesheet to transform that xml to the above
html, but I'm running into the problem:
How do I load it to that parameter?
The xsl:value-of select does not work, nor the xsl:copy-of.

Thanks for any help you can spare,
Rafaela
Nov 11 '05 #1
1 3084
I did for aspx page like
<param name="XMLData" value='<%response.write(val)%>'>, where val is code
behind variable that holds the data

"Rafaela K. Azinhal" <ra*******@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

I'm a newbie and have a question:

I have following PivotTable object in a HTML page

<html>
<body>
<object class='ptdrillthrough'
classid="clsid:0002E552-0000-0000-C000-000000000046" id="pt">
<param name="XMLData" value="&lt;xml
xmlns:x=&quot;urn:schemas-microsoft-com:office:excel&quot;&gt;
&lt;x:PivotTable&gt;
&lt;x:OWCVersion&gt;10.0.0.4109 &lt;/x:OWCVersion&gt;
&lt;x:DisplayScreenTips/&gt;
&lt;x:NoAllowCustomOrdering/&gt;
&lt;x:CubeProvider&gt;msolap.2&lt;/x:CubeProvider&gt;
&lt;x:CacheDetails/&gt;
&lt;x:ConnectionString&gt;Provider=MSOLAP.2;Dat a
Source=http://intranet.viatecla.pt/demo;Initial Catalog=MSP_Vision;Client
Cache Size=25;Auto Synch Period=10000&lt;/x:ConnectionString&gt;
&lt;x:DataMember&gt;VT_Work&lt;/x:DataMember&gt;
&lt;x:PivotView&gt;
&lt;x:IsNotFiltered/&gt;
&lt;x:Label&gt;
&lt;x:Caption&gt;ViaTecla MSP- Work Analyzer&lt;/x:Caption&gt;
&lt;/x:Label&gt;
&lt;/x:PivotView&gt;
&lt;/x:PivotTable&gt;
&lt;/xml&gt;">
</object>
</body>
</html>

I want to dinamically load the value content (which is a xml document) into the param tag.
I have a small web service that generates the relevant xml document.
I'm trying to create a xsl stylesheet to transform that xml to the above
html, but I'm running into the problem:
How do I load it to that parameter?
The xsl:value-of select does not work, nor the xsl:copy-of.

Thanks for any help you can spare,
Rafaela

Nov 11 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: user | last post by:
when i first load index.php with arguments ie: "index.php?page=x", the $_SERVERvalue is null. I then get the session id appended to each link. If i refresh the page, I get the $_SERVER I want, but...
2
by: Uthuras | last post by:
Greetings all, Machine : PENTIUM Os :Windows 2000 Product : DB2 UDB EE Release : 7.2 I've extracted data from a RDBMS database and try to load into DB2 database. I extracted the...
3
by: subaga | last post by:
Hi, I have to load data into a table with one of the columns defined as NOT NULL, but the file does not have data for it. i would like to load a constant value for this column and the constant...
9
by: John Kirksey | last post by:
I have a page that uses an in-place editable DataGrid that supports sorting and paging. EnableViewState is turned ON. At the top of the page are several search fields that allow the user to filter...
0
by: Frank 'Olorin' Rizzi | last post by:
Hello everyone. This is quite convoluted, but I'll try to make it simple. I have a couple of bottom-line questions (I guess): 1~ what happens between the Page_Load routine in the code behind...
4
by: andrewcw | last post by:
I am moving some code forward from .NET 1.1. I was able to load the XSL file and perform the transform. The MSDN documentation looks like it should be easy. But I get a compile error. Ideas ?...
0
by: mrjaxon | last post by:
Basically the issue is, when the XSL style sheet is loaded by URI it is cool but when the exact same style sheet loaded by it's contents the load fails (for this particular style sheet). Because...
3
by: GauravGupta | last post by:
i want to know that is it posible to call button click event before page load event on post back.... please help me....
8
by: sneddo | last post by:
Ok I am trying to do the above, I have got a script that will restrict the length but it requires the user to enter the field and hit a key, before it will work. This would normaly be find, but...
3
by: Sunny | last post by:
Hi, Can someone tell me, How to load the Body Html from a text file that contains javascript. to Manage my files I am creating an Index Page. <html> <head> <meta http-equiv="content-type"...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.