Hi -

I have several elements with attribute values that are not being rendered by my 
sample application builder search app.  With the GUI there seems to only be the 
capability to render elements.  How do I handle things like images or xrefs 
with href attribute values, for example:

<image href="my-image.jpg" />
<xref href="my-link.xml" />

I am able to customize the $TRANSFORMS variable in the config.xqy file, however 
this only seems to apply for elements and not their attribute values.  I'd like 
to render my tags to xhtml and include the attribute values so that my xhtml 
output includes images and links.  All I find in the config.xqy file is the 
following, which creates an empty element with no attribute value:

<render:generic-elem match-name="xref" match-ns="" tag="p" 
xmlns:render="http://marklogic.com/renderapi"/>

Thanks, Ryan

[cid:[email protected]]

Ryan Sappenfield



Technical Sales Consultant




+1 (720) 530-3430  |  Cell - Office



[email protected]<mailto:[email protected]>



http://www.flatironssolutions.com<http://www.flatironssolutions.com/>







<<inline: image001.gif>>

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to