K
KW
I have a challenge and would appreciate any suggested approaches. I
want to be able to let a group of end users create something like the
following...
<div>
<custom:CustomTag attribute="Something" />
<p>This is a paragraph</p>
<custom:AnotherCustomTag>Some content here</custom:AnotherCustomTag>
Cool
</div>
Anyway, I want to allow my staff to combine XHTML tags with a set of
custom tags we will have defined. The resulting markup will be parsed
by our application and the custom tags would be replaced with valid
XHTML based on the tag and attributes. The idea is that we are trying
to allow our staff to be able to design layouts easily in XHTML and mix
in these special tags that mean things to our system.
Is there a way to define a schema that would allow for this approach?
Or, is there a better approach to implementing something like this? I
will need to be able to work with fragments like this, not whole xml
documents.
I appreciate any help on this!
Kevin
want to be able to let a group of end users create something like the
following...
<div>
<custom:CustomTag attribute="Something" />
<p>This is a paragraph</p>
<custom:AnotherCustomTag>Some content here</custom:AnotherCustomTag>
Cool
</div>
Anyway, I want to allow my staff to combine XHTML tags with a set of
custom tags we will have defined. The resulting markup will be parsed
by our application and the custom tags would be replaced with valid
XHTML based on the tag and attributes. The idea is that we are trying
to allow our staff to be able to design layouts easily in XHTML and mix
in these special tags that mean things to our system.
Is there a way to define a schema that would allow for this approach?
Or, is there a better approach to implementing something like this? I
will need to be able to work with fragments like this, not whole xml
documents.
I appreciate any help on this!
Kevin