problem to retrieve xml placeholder data as xml before trans
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
problem to retrieve xml placeholder data as xml before trans

 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
andrew007
Guest





Posted: Thu Oct 27, 2005 12:52 am    Post subject: problem to retrieve xml placeholder data as xml before trans Reply with quote

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?
Back to top
andrew007
Guest





Posted: Thu Oct 27, 2005 12:52 am    Post subject: RE: problem to retrieve xml placeholder data as xml before t Reply with quote

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:

Quote:
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?
Back to top
Stefan [MSFT]
Guest





Posted: Thu Oct 27, 2005 8:51 am    Post subject: Re: problem to retrieve xml placeholder data as xml before t Reply with quote

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...
Quote:
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?
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB