sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Rafaela K. Azinhal's Avatar

load xml in value


Question posted by: Rafaela K. Azinhal (Guest) on November 11th, 2005 10:49 PM
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;Data
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


1 Answer Posted
Sukumar's Avatar
Guest - n/a Posts
#2: Re: load xml in value

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" <rafaelaka@hotmail.com> wrote in message
news:%23dT8wm7SDHA.2316@tk2msftngp13.phx.gbl...[color=blue]
> 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;Data
> 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)[/color]
into[color=blue]
> 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
>
>[/color]


 
Not the answer you were looking for? Post your question . . .
196,811 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 196,811 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors