Questions tagged [idref]

An idref is used in a Document Type Definition(DTD) or XML Schema Definition(XSD) to bind the ID attribute value of a specified element to a separate attribute of one or more unrelated elements.

36 questions
0
votes
2 answers

Getting value of tag referenced by id ref

I'm trying to get a value of a tag of an element referenced by idref. title 1 Zielona Sowa To get title of < ksiazka > all I…
0
votes
1 answer

XSLT: select one idref and find corr. element

I have an xml file about movies that looks like this (short version) Bound on the Wheel 
Lisa
  • 1
  • 1
0
votes
1 answer

XML Schema - element of type "list" as an IDREFS

I would to create a list of references (like an element of IDREFS type) using key and keyref, so that each item in my list (Links in the example below) refers the attribute @name of a Link. The code below do not works, but I would to write something…
Junzo
  • 1
  • 7
0
votes
1 answer

What can be the use case for Spring bean idref?

I know that idref is used to pass the id of a bean (i.e String value but not the reference). I was asked in an interview, what can be the use case of idref? Why and when it should be used?
SSC
  • 2,956
  • 3
  • 27
  • 43
0
votes
1 answer

jaxb unmarshall child @XmlIDREF

I have class @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "customerOrder", propOrder = { "demandsUuid", "invoicesOutUuid", "paymentsUuid", "customerOrderPosition", "purchaseOrdersUuid" }) public class CustomerOrder…
fivig
  • 1
  • 2
0
votes
1 answer

Usage of IDs / IDREFs in SVG documents

I want to combine several SVG fragments from different source documents into one result document. To avoid ID conflicts, I'll have to "namespace" the IDs of each source document by prefixing them with a unique string. I can use XPath to find all ID…
1 2
3