Re: using XSLT to replace @ref in XML schema
Wolfgang, something like <xsl:template match="*[@ref != '']"> <xsl:apply-templates select="document(@ref)" /> </xsl:template> (did something similar yesterday with XSLT1, assuming @ref contains an URI) - Michael Am 07.10.2010 um 08:03 schrieb Wolfgang Laun: > Inspired by an issue on another list (JAXB), I'd like to ask whether > someone here has ever seen or heard about an XSLT replacing all the > @ref by their respective target? > > AFAIK, they are just shortcuts, and such a replacement shouldn't make > any difference. Also, an XSLT would be a simple way of doing this - > or am I missing something? > > (I'm *not* asking for a solution in code; don't waste your time, please.) > Thanks > -W > > PS: Sorry if this slightly off-topic. -- _______________________________________________________________ Michael M|ller-Hillebrand: Dokumentations-Technologie Adobe Certified Expert, FrameMaker Lvsungen und Training, FrameScript, XML/XSL, Unicode Blog: http://cap-studio.de/ - Tel. +49 (9131) 28747
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format