Make certain there is one and only one match for a given URL within an
XMAP. The easiest way is to use the format:
<map:match pattern="**">
<map:match pattern="**/registration.flow">
<!-- Your registration code -->
</map:match>
<map:match pattern="**.html">
<!-- code for HTML documents -->
</map:match>
<!-- default code for no match -->
<map:generate src="sorry.xml"/>
<map:transform type="i18n">
<map:parameter name="locale" value="{page-envelope:document-language}"/>
</map:transform>
<map:serialize type="html"/>
</map:match>
---
I created a single Login/Register/User Information page using a
Usecase (usecase-session.xmap). It first displays both the Login and
New Registration forms, then once a visitor is logged in, it shows
their personal settings. I will eventually add a page about it to my
website, but much of it is specific to our publication (language
choice and frequency for newsletters, etc.)
Using a Usecase solves most of your issues, keeps the code clean and
maintainable, and does not forget the visitor's language choice.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]