Hello

Is it possible to pass more than one xpath parameter inside one map:generate. I'm trying to play with yahoo sample in cocoon but I want to extract 2 nodes, let's say one <head>/<title> and one td for the first table. But it seems that the pattern recognizes only the last parameter. Is it possible to pass more than one parameter like below:

<map:match pattern="yahoo">
<map:generate src="http://www.yahoo.com"; type="html">
<map:parameter name="xpath" value="/html/head/title"/>
<map:parameter name="xpath" value="/html/body/center/table[1]/tr[1]/td[1]"/>
</map:generate>
<map:serialize type="html"/>
</map:match>

Regards,
Sushil

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 3 months FREE*. http://join.msn.com/?page=features/featuredemail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_addphotos_3mf


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to