[Home] [By Thread] [By Date] [Recent Entries]

  • From: Dave Pawson <davep@d...>
  • To: "Karr, David" <david.karr@w...>
  • Date: Mon, 05 Mar 2007 17:30:13 +0000

Karr, David wrote:
> This may be a trivial question in this audience, but if you have an
> attribute defined in the schema as "xs:IDREF", does there also have to
> be at least one attribute defined in the schema as "xs:ID", and a
> similar relationship in the XML instance document, with the IDREF value
> matching at least one ID attribute?  If this relationship does not hold
> true, does this mean that the document is not valid?

It makes (simple) sense to have a matching id for an idref?
This applies in the instance... when the schema is available.

Invalid? No I don't think so.
Silly? possibly.

"Hey over there", he said, pointing at nothing.
(Women don't do that.. do they?)


regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member