Davanum Srinivas wrote:
>
> Berin,
>
> I broke it. Will try to fix it and let you know.
thanks.
The approach that I tried to use was to do a modal xslt:
....
<xsl:apply-templates mode="internal"/>
....
<xsl:template match="map:match" mode="internal">
.....
.....
</xsl:template>
I think the problem with that is that we need an "internal" mode
version of anything that can be embedded (i.e. map:match, map:select,
map:act, map:generate, map:mount, map:transform, map:serialize,
map:read).
Unless, you know how to make a template react to all modes that is
impractical. I wonder if you could set up a template to work like
this:
<xsl:template match="map:match//map:match">
....
</xsl:template>
and the code be in the right place....
>
> Thanks,
> dims
>
> --- Berin Loritsch <[EMAIL PROTECTED]> wrote:
> > Berin Loritsch wrote:
> > >
> > > I noticed that when you have nested matchers (previously legal),
> > > the new format tries to create a new method inside of a method--
> > > which clearly does not work.
> >
> >
> > Please use code that looks somewhat like this to test the solution:
> >
> > <map:match pattern="**.html">
> > <map:match pattern="sub**.html">
> > <map:mount uri-prefix="sub" src="sub/" check-reload="true"/>
> > </map:match>
> >
> > <map:generate src="docs/{destination}.xml"/>
> > <map:serialize/>
> > </map:act>
> > </map:match>
> >
> > I have tried, but my "fix" only broke the sitemap more. Could someone
> > please look into this?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
>
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]