Thanks Henry, I think I get it now. If I want a mixture of HTML and
XML on a page, i should just change it's content type from HTML to
XML, and make sure the HTML is valid XML. Anyway, I'll give it a try!

[For your information: What I'm trying to do is hard to explain. We're
generating a library of "Form Builder" CMS content classes to enable
forms to be built. The form labels are page elements which are
editable in SmartEdit.

Our guidelines for building forms in a usable and accessible manner
state that when a form is submitted with validation errors, the form
is redisplayed and at the top of the page there is a message such as
"There were problems with the following fields: First Name, Last Name,
Email Address". And I want these labels to be identical to the
editable labels within the form. So I'm thinking in the content class
for a input type="text" element (say), have something like

<label><%stf_label%></label>
<input type="text" name="<%stf_name%>" .../>
<xml>
  <name><%stf_name%></name>
  <label><%stf_label%></label>
</xml>

This way XSLT will be able to convert names to labels when it is
constructing the message at the top of the form.

We're using a web service to process the form submission by the way,
and the web service has no knowledge of what the labels are, but it
does know about the names.]

Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to