| Author |
problem to retrieve xml placeholder data as xml before transformat
|
|
| andrew007 2005-10-26, 8:50 pm |
| This is my problem.
I have a placeholder called "WpDatesXml" in a template.
The xmlplaceholder (WpDatesXml) value is loaded to a dataset (called
myDataSet) w/other placeholder data in presentation mode. And I grab
myDataSet as xml
and do xml transformation w/my XSLT to display but the issue is WpDatesXml
become html which means as follows.
<zones><zone>india</zone><zone>france</zone></zones>
become
<Zones><Zone>india</Zone><Zone>france</Zone></Zones>
so
I can't use xslt to transform (even though I can do others) in presentation
mode.
This is what I generated from entire posting.
you will notice <WpDatesXml> has html not xml formatted data.
Any idea?
<NewDataSet>
<Table1>
<Title>The Clarence setup</Title>
<ShortBodyText></ShortBodyText>
<PublishedDate>2005-10-21T00:00:00.0000000-07:00</PublishedDate>
<WeeklyPreview>True</WeeklyPreview>
<WpDatesXml><Zones><Zone>10/28/2005 Issue</Zone><Zone>11/18/2005
Issue</Zone><Zone>12/2/2005 Issue</Zone></Zones></WpDatesXml>
<WpContact />
<WpImportance />
<WpAcronyms />
<WpComments />
<displayname>Announcement1</displayname>
<name>Announcement1</name>
<startdate>10/29/2004 9:25:20 PM</startdate>
<expirydate>1/1/3000 12:00:00 AM</expirydate>
<lastmodifieddate>10/24/2005 8:48:49 PM</lastmodifieddate>
</Table1>
</NewDataSet>
Do you know how can I keep xml state (no html converting) for my xslt
tranformation?
| |
| andrew007 2005-10-26, 8:50 pm |
| Seems like less than or greater than html code become corrected in html view
please consider less than greater than code when I meant html
"andrew007" wrote:
> This is my problem.
> I have a placeholder called "WpDatesXml" in a template.
>
> The xmlplaceholder (WpDatesXml) value is loaded to a dataset (called
> myDataSet) w/other placeholder data in presentation mode. And I grab
> myDataSet as xml
> and do xml transformation w/my XSLT to display but the issue is WpDatesXml
> become html which means as follows.
>
> <zones><zone>india</zone><zone>france</zone></zones>
>
> become
>
> <Zones><Zone>india</Zone><Zone>france</Zone></Zones>
>
> so
>
> I can't use xslt to transform (even though I can do others) in presentation
> mode.
>
> This is what I generated from entire posting.
> you will notice <WpDatesXml> has html not xml formatted data.
> Any idea?
>
> <NewDataSet>
> <Table1>
> <Title>The Clarence setup</Title>
> <ShortBodyText></ShortBodyText>
> <PublishedDate>2005-10-21T00:00:00.0000000-07:00</PublishedDate>
> <WeeklyPreview>True</WeeklyPreview>
> <WpDatesXml><Zones><Zone>10/28/2005 Issue</Zone><Zone>11/18/2005
> Issue</Zone><Zone>12/2/2005 Issue</Zone></Zones></WpDatesXml>
> <WpContact />
> <WpImportance />
> <WpAcronyms />
> <WpComments />
> <displayname>Announcement1</displayname>
> <name>Announcement1</name>
> <startdate>10/29/2004 9:25:20 PM</startdate>
> <expirydate>1/1/3000 12:00:00 AM</expirydate>
> <lastmodifieddate>10/24/2005 8:48:49 PM</lastmodifieddate>
> </Table1>
> </NewDataSet>
>
> Do you know how can I keep xml state (no html converting) for my xslt
> tranformation?
| |
| Stefan [MSFT] 2005-10-28, 4:58 pm |
| Hi Andrew,
this does not look like an MCMS related question. You should better post
this question to an XML related newsgroup.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"andrew007" <gahdhi@yahoo.com> wrote in message
news:BB254BA7-6926-4795-86D9-0616A959D1E7@microsoft.com...[vbcol=seagreen]
> Seems like less than or greater than html code become corrected in html
> view
> please consider less than greater than code when I meant html
>
> "andrew007" wrote:
>
|
|
|
|