Subject: RE: Finding the ID attribute of an XPath from XMLSchema
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 21 Jul 2007 11:45:59 +0100
|
> I have an XML which is associated to an XMLSchema. Once I
> perform an XQuery on the XML I get a selected set of XPaths
> (Im using our own functions).
>
> For each XPath I need to know what is the ID attribute for the XPath.
> I know that in XMLSchema there is an XS:ID Attribute. I would
> like to know if there is a way to find the ID associated from
> the XMLSchema for an XPath in the XML.
>
> Did I confuse everyone?
You certainly confused me. Show us your source document and tell us what you
want your output to look like.
Michael Kay
http://www.saxonica.com/
|