473,739 Members | 4,265 Online
Bytes | Software Development & Data Engineering Community
+ 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='ptdrillt hrough'
classid="clsid: 0002E552-0000-0000-C000-000000000046" id="pt">
<param name="XMLData" value="&lt;xml
xmlns:x=&quot;u rn:schemas-microsoft-com:office:exce l&quot;&gt;
&lt;x:PivotTabl e&gt;
&lt;x:OWCVersio n&gt;10.0.0.410 9 &lt;/x:OWCVersion&gt ;
&lt;x:DisplaySc reenTips/&gt;
&lt;x:NoAllowCu stomOrdering/&gt;
&lt;x:CubeProvi der&gt;msolap.2 &lt;/x:CubeProvider& gt;
&lt;x:CacheDeta ils/&gt;
&lt;x:Connectio nString&gt;Prov ider=MSOLAP.2;D ata
Source=http://intranet.viatec la.pt/demo;Initial Catalog=MSP_Vis ion;Client
Cache Size=25;Auto Synch Period=10000&lt ;/x:ConnectionStr ing&gt;
&lt;x:DataMembe r&gt;VT_Work&lt ;/x:DataMember&gt ;
&lt;x:PivotView &gt;
&lt;x:IsNotFilt ered/&gt;
&lt;x:Label& gt;
&lt;x:Caption&g t;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 3108
I did for aspx page like
<param name="XMLData" value='<%respon se.write(val)%> '>, where val is code
behind variable that holds the data

"Rafaela K. Azinhal" <ra*******@hotm ail.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Hi,

I'm a newbie and have a question:

I have following PivotTable object in a HTML page

<html>
<body>
<object class='ptdrillt hrough'
classid="clsid: 0002E552-0000-0000-C000-000000000046" id="pt">
<param name="XMLData" value="&lt;xml
xmlns:x=&quot;u rn:schemas-microsoft-com:office:exce l&quot;&gt;
&lt;x:PivotTabl e&gt;
&lt;x:OWCVersio n&gt;10.0.0.410 9 &lt;/x:OWCVersion&gt ;
&lt;x:DisplaySc reenTips/&gt;
&lt;x:NoAllowCu stomOrdering/&gt;
&lt;x:CubeProvi der&gt;msolap.2 &lt;/x:CubeProvider& gt;
&lt;x:CacheDeta ils/&gt;
&lt;x:Connectio nString&gt;Prov ider=MSOLAP.2;D ata
Source=http://intranet.viatec la.pt/demo;Initial Catalog=MSP_Vis ion;Client
Cache Size=25;Auto Synch Period=10000&lt ;/x:ConnectionStr ing&gt;
&lt;x:DataMembe r&gt;VT_Work&lt ;/x:DataMember&gt ;
&lt;x:PivotView &gt;
&lt;x:IsNotFilt ered/&gt;
&lt;x:Label& gt;
&lt;x:Caption&g t;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
5451
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 if i click a link $_SERVER returns the value I want and the session id. Any ideas as to how I can get the $_SERVER to return the arguments on first page load?
2
2980
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 data in the form of delimited ASCII format. The separator for each colum is '|'
3
6295
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 value changes for each load. I was wondering how can i do this without processing the file to add the constant. i dont see any options in load command to specify defaults for columns. The only solution that i can think of is to load the file...
9
21646
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 the results in the grid. Say you filter the grid for records that have a certain condition set to "NO" (in this case a checkbox). In this scenario the search returns one result. If I then check the checkbox ("YES") and save it, I now get my message...
0
2524
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 of an aspx page and the presentation of the page to the user? 2~ is it true that the engine takes data from the Request.Form and puts them
4
9608
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 ? How can I share my XSLT ( there are 2 helper stylesheets, and I check that they are also available... the loaded xsl makes reference to the helper xsl files. Where should I start looking ? // Load the stylesheet. errBefore =...
0
3266
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 our sheets are kept in a DB, loading by content is preferable. Content based load code: Stream xslStream = new MemoryStream(xslString); XmlReader xslTextReader = XmlReader.Create(xslStream); compliedXsl.Load(xslTextReader);
3
21149
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
8745
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 the title field gets its information from a previouse page so its value can easily be over 40 chars. (I can not restrict the length on the previouse page.) The major dificulty is that there is no form on the aspx page, and I do not have access to...
3
3010
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" content="text/html; charset=utf-8"/> <title></title>
0
8792
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9337
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9266
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9209
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6754
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4570
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4826
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3280
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.