Quote:
quote:Originally posted by mhkay
Can't see anything obviously wrong, but you haven't shown your input. It's also useful to show desired output and actual output.
One little tip, the construct:
<input type="hidden" name="query">
<xsl:attribute name="value">
<xsl:value-of select="rdf:Description/si:query" />
</xsl:attribute>
</input>
can be simplified to
<input type="hidden" name="query"
value="{rdf:Description/si:query}" />
It's called an attribute value template.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
|
Thanks a lot Michael
my input and output is as follows:
input
<rdf:Description rdf:nodeID="adsd">
<si:query><![CDATA[?s <http://mitsmit.rdf.in/2007/01/ind#kw> "rudi studer".]]></si:query>
<si:outlink rdf:resource="http://xmlns.com/foaf/0.1/knows"/>
<si:outlink rdf:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
<si:outlink rdf:resource="http://xmlns.com/foaf/0.1/phone"/>
<si:outlink rdf:resource="http://xmlns.com/foaf/0.1/homepage"/>
<si:inlink rdf:resource="http://purl.org/dc/elements/1.1/creator"/>
<si:inlink rdf:resource="http://xmlns.com/foaf/0.1/knows"/>
</rdf:Description>
and the ouput is :
1 select box with outlinks only. It is not creating the second select box with all inlinks.
Thanks once again