Hi Fan Li,

(you are probably using Mac with auto-correction, which will replace rdf:... 
with ref:... - I have switched off auto-correction as this was biting me all 
the time).

If you want to attach metadata and also customize the display text, why not 
simply create proper instances of a class of your choice, e.g. ex:URL which has 
rdfs:label as a declared property and any other metadata property too? I.e. 
instead of using datatype properties just make them proper object properties 
linking to an instance instead of a literal?

Holger


> On 5 Aug 2022, at 4:43 pm, Fan Li <[email protected]> wrote:
> 
> In the following thread, Irene mentioned two approaches to display clickable 
> URL in EDG: xsd:anyURI or ref:HTML
> 
> https://groups.google.com/g/topbraid-users/c/IX9XLMMchPw/m/wZeTOfUqAgAJ
> 
>  if you want to see on a form a hyperlink to a document on a web, use 
> xsd:anyURI or, if values are text that includes links, use ref:HTML.
> 
> But I feel there are limitations in both. Using xsd:anyURI, I cannot control 
> the displayed text and the hover text in the HTML hyperlink tag (e.g. <a 
> href=".." text="Link to ABC">ABC</a>). Using ref:HTML, I can customize both 
> but the content can be any html with no semantic meaning.
> 
> Is there a built-in URL class (or allow me to create one) and have it 
> rendered as a clickable link? It would also give me the ability to attach 
> additional metadata to each URL.
> 
> Thanks!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/1342be77-43f6-45fc-a76c-3f0ee010b02fn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/1342be77-43f6-45fc-a76c-3f0ee010b02fn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/6D57EA84-E78C-4164-8D77-D89A185256AC%40topquadrant.com.

Reply via email to