forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Odlind" <SOdl...@omniture.com>
Subject RE: Custom XSL pipeline in sitemap.xmap causes build error
Date Wed, 06 Jun 2007 17:18:10 GMT

>>There are two (easy) solutions to your problem:

>>a) use a narrower match that will only work when you know the custom
>>DTD is to be used
>>b) don't worry about the match, just redefine the sourcetype action
>>that does the processing

>>If you go for a) then simply change your match to something like:

>><map:match pattern="myCustomDocs/**.xml">

>>If you go for b) then copy the following elements from forrest.xmap
>>and add your custom DTD and transformation to them:

>><map:action logger="sitemap.action.sourcetype" name="sourcetype"
>>src="org.apache.forrest.sourcetype.SourceTypeAction">

>><map:resource name="transform-to-document">

Unfortunately, both approaches result in the following error message:

"BROKEN: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node
where it is not permitted."

Is there something wrong with my site, or the XSL?

Thanks,

Steve


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Mime
View raw message